loading windows DLL in a linux app
ml
ml at dasir.net
Tue May 22 10:11:56 CDT 2007
Hi!
I have a third party library which is a Windows DLL. Is it possible to
use Wine to call its functions under Linux?
I tried a simple code
#include <library.h>
int main(int argc, char**argv)
{
HMODULE dll;
dll = LoadLibrary("atouch32.dll");
return 0;
}
compiled successfully but runtime fails with "Segmentation fault".
Perhaps I missed some initialization.
I didn't found any examples of Wine API usage. Can anyone give me any clue?
Thank you!
David
More information about the wine-devel
mailing list