Hi,
I have a simple program that is failing all the time. Here it is
#include <windows.h>
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpszCmdLine, int nCmdShow)
{
HMODULE libHandle;
libHandle = LoadLibrary(L"KCV12.DLL");
FreeLibrary(libHandle);
}
The call to LoadLibrary fails and I don't now why. What could be causing this problem ?
Thx
FC.
Hi,
I've sorted this out. I was mixing 32 and 64 bit code.
Thx
FC.