Re: win32lib: manipulating vWinMainState

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

On Mon, 26 Jul 2004 04:32:47 -0700, Alexander Toresson
<guest at RapidEuphoria.com> wrote:

>I had a problem with the windows version of the debugger, though I forgot
>it, so it got released anyway. What that include file needs is to have a
>window open without having called WinMain(). I found out that what is
>needed is a way to make vWinMainState = kStarted. I made a hack into my
>win32lib.ew and made vWinMainState global, and that's why I forgot it.
>Maybe vWinMainState should be global, or vWinMainState should be set to
>kStarted in openWindow()

I noticed that, but did not comment on it. In asmdebugwin.ew I made
main global, and commented out the two lines
openWindow(main, Normal)
vWinMainState = kStarted
(at the time I didn't notice the second use within CallBack())
In demo.exw I added WinMain(main, Normal) before the asm_cleanup()
call. It wasn't quite right, but fairly close (displays from line 3).

BTW, what is the sequence states for?

Pete

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

Search



Quick Links

User menu

Not signed in.

Misc Menu