Re: still having translator problems
- Posted by g.haberek at comcast.net Sep 15, 2002
- 393 views
i tried getting the window to pause. that doesnt work. i made a program with win32lib and nothing happened! even this simple program, when compiled, does not work: -- begin code include win32lib.ew constant main = create( Window, "Test", 0, .25, .25, .5, .5, 0 ) WinMain( main, Normal ) -- end code nothing, nothing at all! just a DOS box with the translator message! ----- Original Message ----- From: Robert Craig <rds at RapidEuphoria.com> To: EUforum <EUforum at topica.com> Sent: Friday, September 13, 2002 2:40 PM Subject: Re: still having translator problems > > Greg writes: > > > you can now execute: test.exe > > C:\EUPHORIA\test>test.exe > > ... at this point, the message pops up about having a free translator, > > then disappears.after that, i am left with nothing! Why? > > What if you run your program with the interpreter: exw test > Does the window disappear? > > I don't know what your test.exw program is, > but I suspect it's very simple and you need to add: > > if getc(0) then > end if > > at the end of your program to stop the window from > disappearing, as normally happens when a Windows > program terminates. (There's also a way to convert > exw.exe or your test.exe into a console-mode program, > so the window won't disappear - search for > Jeremy Collake in the Archives.) > > Regards, > Rob Craig > Rapid Deployment Software > http://www.RapidEuphoria.com > > > >