Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Thu, 17 May 2001 17:31:52 GMT Message-Id: <200105171731.RAA21541844@smtp6ve.mailsrvcs.net> From: Mark Schoenberg To: cygwin AT cygwin DOT com Subject: Re: Win32 api and using in Cygwin X-mailer: msmail-3.6e by Emmes Technologies 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 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