Wrapper for Winelib
Sam Lauber
sam124 at operamail.com
Sun Dec 5 10:29:41 CST 2004
I *think* I've figured out a way to make regular Unix programs with winelib. My idea is, make winemaker generate a C file called "winelib-wrap.c" that contains:
#include <stddef.h>
int main(void)
{
return (int) WinMain(NULL, NULL, NULL, NULL);
}
Then link it with the EXE encapusulated in a .so, and it SHOULD work. I'll try it on the 01-stdole32.c. It gave me a SIGSEGV, but maybe someone would fix it.
Samuel Lauber
--
_____________________________________________________________
Web-based SMS services available at http://www.operamail.com.
More information about the wine-devel
mailing list