H
HalloUlrich
Hi all!
We have a big project using MFC. Now we want migrate
step by step to java. so we want to use JNI to call our Dll's (with
MFC).
In the DLL is an application Objekt. the method InitInstance will be
called.
But the functions AfxGetInstanceHandle() and AfxGetResourceHandle()
returns NULL. So the DLL-call crashes.
What must we do, to init the MFC correct?
We have a big project using MFC. Now we want migrate
step by step to java. so we want to use JNI to call our Dll's (with
MFC).
In the DLL is an application Objekt. the method InitInstance will be
called.
But the functions AfxGetInstanceHandle() and AfxGetResourceHandle()
returns NULL. So the DLL-call crashes.
What must we do, to init the MFC correct?