RE: Using DialogBox function
Well... I think hInst is not really initialized...
So.. DllMain should be:
BOOL APIENTRY DllMain( HINSTANCE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved)
{
hInst = hModule;
return TRUE;
}
This post was edited on 07-10-2003 at 02:00 AM by allex87.
|