C++写注册表出现了问题
用C++改注册表的内容,编译的时候出现了warning:[Warning] unknown escape sequence '\S'
[Warning] unknown escape sequence '\M'
是什么意思?原代码是这样的:
HKEY key;
RegOpenKeyEx(HKEY_LOCAL_MACHINE,APP_KEY,0,KEY_WRITE,&key);
DWORD size,type;
size=128;
type=REG_SZ;
RegSetValueEx(key,EXENAME,0,type,(LPBYTE)LPCTSTR("H:\C或C++\system.exe"),size);