Help - ISAPI Extension
iz nee ia obrashaus' k rannee napisanomu mnoi DLL.
iz etogo DLL ia vizivau function
RegCreateKeyEx(...) i proveriau ee vipolnenie v:
nRes = RegCreateKeyEx(...)
if (nRes != ERROR_SUCCESS)
{
...
}
programma zahodit v if po prichine togo chto ne smogla sdelat' novi key v regestry.
ia beru LastError s pomoshiu function:
FormatMessage( FORMAT_MESSAGE_FROM_SYSTEM, NULL, GetLastError(),
MAKELANGID(LANG_NEUTRAL,SUBLANG_DEFAULT), szBuff, sizeof(szBuff),
NULL);
i zapisivau LastError v log file.
v log file pishetsi sleduushee (do slovno):
"The operation completed successfully."
mojet kto-to znaet pochemu eto pishetsia pri tom chto novi key u menia ne obrazovalsia???
Mojet v ISAPI Extension nel'zia rabotat' s regestry???
Pomogite please kto mojet!!!
P.S. Sorry za translit