| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
| List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
| 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 <mark AT emmestech DOT com> |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: Win32 api and using in Cygwin |
| X-mailer: | msmail-3.6e by Emmes Technologies <http://www.emmestech.com> |
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |