Re: What does WinMain do?
- Posted by codepilot Gmail Account <codepilot at gmail.com> Nov 13, 2004
- 469 views
Question, if you do WinMain(0,0) what is the handle to give wsaAsyncSelect and the like, instead of get_handle(win), if there is no win? Daniel On Fri, 12 Nov 2004 15:15:54 -0800, Derek Parnell <guest at rapideuphoria.com> wrote: > > posted by: Derek Parnell <ddparnell at bigpond.com> > > > Patrick Barnes wrote: > > > > IPC won't receive messages unless WinMain is called. Fair enough. > > > > I'm not using win32lib at all, how can I duplicate that small part of > > WinMain so that IPC works? I tried to go through WinMain, but it's a > > little beyond me > > Use this ... > > WinMain(0,0) > > This starts the eventloop without having any main window. > > -- > Derek Parnell > Melbourne, Australia > > > >