Re: win32lib: manipulating vWinMainState
- Posted by Alexander Toresson <toressonodakra at swipnet.se> Aug 13, 2004
- 537 views
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!