This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Win32 api and using in Cygwin
- To: cygwin at cygwin dot com
- Subject: Re: Win32 api and using in Cygwin
- From: Mark Schoenberg <mark at emmestech dot com>
- Date: Thu, 17 May 2001 17:31:52 GMT
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