Win32 api and using in Cygwin

Mark Schoenberg mark@emmestech.com
Thu May 17 10:27:00 GMT 2001


Dear Rob,
 I am not sure that I can see your problem. If the code below is in the
file a.c or a.cpp, the command "gcc -o a a.c" or "gcc -o a a.cpp" compiles a.exe
for me without any errors messages. Executing a.exe, of course, results in
nothing special happening.
 #include <windows.h>
 int WINAPI WinMain(
 HINSTANCE hInstance,
 HINSTANCE hPrevInstance,
 LPSTR pszCmdLine,
 int nCmdShow
 )
 {
 WNDCLASS wndClass;
 wndClass.style = 0;
 }
Regards,
 Mark Schoenberg
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /