Âèçóàë Ñ++ 6.õõ REGEDIT4 ÕÅËÏÌÈ!
Íîâàÿ òåìà Íàïèñàòü îòâåò
# Ïò Èþí 30, 2006 8:02 pmIseeDeadPeople Çàðåã.: 06.12.2005 ; Ñîîáù.: 21723Îòâåòèòü ñ öèòàòîé
ïîäñêàæèòå êàê âîò ýòîò êîä íà ñ++

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... (ÍÅ ×ÅÐÅÇ ÔÀÉËÛ!!)

ïîäñêàæèòå
ñïàñèáî

êñòàòè êðóòî çà íîâûé òðåä â ãë. ôîðóìå
Íîâàÿ òåìà Íàïèñàòü îòâåò    ÃËÀÂÍÀß ~ ÒÅÕÍÈ×ÅÑÊÈÅ ÂÎÏÐÎÑÛ
 
Ëþáîå èñïîëüçîâàíèå ìàòåðèàëîâ, ðàçìåùåííûõ íà ArmadaBoard.com, áåç ðàçðåøåíèÿ âëàäåëüöåâ ArmadaBoard.com çàïðåùåíî.