Read and respond to this message at:
Is it possible to have a DLL (say mydll.dll) calling functions implemented in
the EXE (say myexe.exe) which uses this DLL (opened with LoadLibrary)?
This is obviously possibly under Linux and Mac OS X, but I cannot find a way
to do it under Windows with MinGW...
I tryed this:
I created a libmyexe.def file which contains the following:
Then I created the .a file with:
dlltool -d libmyexe.def -l libmyexe.a
I can create the dll with:
gcc -shared mydll.c -o mydll.dll -llibmyexe.a
(mydll.c calls myfunction)
However, when the myexe.exe loads this DLL, LoadLibrary fails (error 126, module
I am missing something?
Any help greatly appreciated...
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: