Re: win32lib: manipulating vWinMainState

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

Derek Parnell wrote:
  <snip>
> <---test.exw--->
> without warning
> include win32lib.ew
> include other.ew
> WinMain(0, 0)    
> <---end of file--->

Hmm. My example wasn't good enough. I'll try to explain again.
This method would work perfectly when the main program uses win32lib
and calls WinMain(). But, I want it to work without the main program
using win32lib, for example with an opengl library.
    The tracer should of course run in the background, and therefore
it cannot call WinMain(). That would stop the main program. The problem
is that vWinMainState hasn't been set to kStarted if I haven't called
WinMain(), and therefore my window don't receive events. Maybe 
vWinMainState should be set to kStarted in openWindow()?

Regards, Alexander Toresson

Shhh! Be vewy quiet! I'm hunting wuntime ewwows!

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

Search



Quick Links

User menu

Not signed in.

Misc Menu