Displaying 1 result from an estimated 1 matches for "showbox".
Did you mean:
shoebox
2003 Aug 27
0
Building a wine(lib) based shared library to link with a Linux application
Hi,
I'm trying to work out if and how I can port a windows dll to Linux and build a shared library that I can use in an ordinary Linux program.
To be more specific:
Supose I have sources for a Windows dll (mydll.c and mydll.def):
mydll.c
#include <windows.h>
int ShowBox(void)
{
MessageBox(NULL, "DLL", "DLL", MB_OK);
return 0;
}
mydll.def
LIBRARY "mydll"
DESCRIPTION 'Show a MessageBox'
EXPORTS
ShowBox @1
Is it possible with wine(lib) to buuild a library (preferably shared) that I can link with an ordinary Linux...