Mail Archives: cygwin/2003/04/09/09:26:04
> > > > Also, according to the "Cygwin Users Guide", I have included the
> following
> > > > line in the code.
> > > > WinMainCRTStartup() { mainCRTStartup(); }
> > > > It doesnt seem to be called. Is the User Guide correct? The same
> problem
> > > > occurs if I omit the line and use the "-e _mainCRTStartup" as
> suggested in
> > > > the User Guide.
> > >
> > > This sounds like out-of-date info to me (but that's just a guess).
> >
> > OK, I'd like to make sure this is up-to-date, but I've never built a
> > GUI Win32 application in Cygwin (well, except setup.exe). Can someone
> > post a "helloworld-gui" example or something? Or, here's what the User's
> > Guide currently says, please reply with inaccuracies:
On Tue, Apr 08, 2003 at 11:13:27AM -0500, BB wrote:
> I have attached a GUI Win32 app.
>
> It builds without either of the options (WinMainCRTStartup() or -e
> mainCRTStartup) specified in the users guide. I think the default
> implementation of main() in calls WinMain(), so I wonder if the call to
> mainCRTStartup is required. Perhaps the FAQ is out of date.
>
> If built with "-e WinMainCRTStartup" to set the entry point,
> WinMainCRTStartup
> gets called.
Thanks very much. I'll probably update the User's Guide by putting
this example in it instead of the WinMailCRTStartup() stuff.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -