Hi,
I use this function:
HINSTANCE hinstLib;
//------------------------------------------------------
// Laden der DLL
//------------------------------------------------------
int Load_DLL(char *szDLL)
{
//laden der DLL
hinstLib = LoadLibrary(szDLL);
//wenn laden erfolgreich, dann True
if (hinstLib != NULL) return 1;
}
I can compile, but get the message: warning #2235: Not all control paths return a value.
How can I prevent that?
Thank you very much.