Re: What does WinMain do?

new topic     » goto parent     » topic index » view thread      » older message » newer message

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 smile
> 
> Use this ...
> 
>  WinMain(0,0)
> 
> This starts the eventloop without having any main window.
> 
> --
> Derek Parnell
> Melbourne, Australia
> 
> 
> 
>

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu