Re: Can't get a minimal Windows app running with winelib

2004-02-12 Thread Chris Seaton
You don't need these: -Iwine/windows -lwine The other libs: -lkernel32.dll -luser32.dll are not needed either, they are linked in by default. Aha, that solved the crash as well. Thanks very much. Chris Seaton

Re: Can't get a minimal Windows app running with winelib

2004-02-12 Thread Dimitrie O. Paun
On Thu, 12 Feb 2004, Chris Seaton wrote: > winegcc -mwindows -o test.exe -Iwine/windows test.c -lwine > -lkernel32.dll -luser32.dll You don't need these: -Iwine/windows -lwine The other libs: -lkernel32.dll -luser32.dll are not needed either, they are linked in b

Can't get a minimal Windows app running with winelib

2004-02-12 Thread Chris Seaton
I can't get a minimal Windows app to run with winelib (it compiles fine). I'm compiling --- #include #include int WINAPI WinMain(HINSTANCE Instance, HINSTANCE PreviousInstance, LPSTR CommandLine, int ComandShow) { return EXIT_SUCCESS; }