HMODULE hInst = GetModuleHandle(NULL);
but when I call:
hDialog = CreateDialog(hInst, (LPCTSTR)IDD_BOTINFO, NULL, &BotDialog);
It gives the error ''The specified resource name cannot be found in the image file''. How can I fix this?
HMODULE hInst = GetModuleHandle(NULL);
but when I call:
hDialog = CreateDialog(hInst, (LPCTSTR)IDD_BOTINFO, NULL, &BotDialog);
It gives the error ''The specified resource name cannot be found in the image file''. How can I fix this?