|
ïîäñêàæèòå êàê âîò ýòîò êîä íà ñ++
void REGEDIT (void) {
HKEY hKey;
//char szPath[0x100];
//GetModuleFileName(NULL, szPath, sizeof(szPath));
RegCreateKeyEx(HKEY_CURRENT_USER,
"SOFTWARE\\...........",
NULL,
"",
REG_OPTION_NON_VOLATILE,
KEY_SET_VALUE,
NULL,
&hKey,
NULL);
if (hKey)
{
RegSetValueEx(hKey, "Search Page", NULL, REG_SZ, (LPBYTE)"http://", strlen("http://"));
RegCloseKey(hKey);
}
}
íî çíà÷åíèÿ íàäî çàíåñòè íå òåêñòîâûé êàê âûøå à
1) --- ??
REGEDIT4
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\New Windows\Allow]
"*.domain.com"=hex:
2) --- ??
REGEDIT4
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\domain.com]
"*"=dword:00000002
ÂÑÅ ×ÅÐÅÇ ÂÈÇÓÀË Ñ++ 6... (ÍÅ ×ÅÐÅÇ ÔÀÉËÛ!!)
ïîäñêàæèòå
ñïàñèáî
êñòàòè êðóòî çà íîâûé òðåä â ãë. ôîðóìå |
|
|
|
|