1. still having translator problems
- Posted by g.haberek at comcast.net Sep 13, 2002
- 401 views
This is a multi-part message in MIME format. --Boundary_(ID_eUt1rCYck4NWDgtnazX9aw) I am still having problems with the Eu translator and Borland. I run through everything just as i should C:\EUPHORIA\test>ecw test.exw 4 .c files were created. To build your .exe file, type: emake C:\EUPHORIA\test>emake compiling with BORLAND test.c: main_.c: init_.c: get.c: 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? ~Greg --Boundary_(ID_eUt1rCYck4NWDgtnazX9aw) Content-type: text/html; charset=iso-8859-1 Content-transfer-encoding: 7BIT <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content="text/html; charset=iso-8859-1" http-equiv=Content-Type> <META content="MSHTML 5.00.2614.3500" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT face=Arial size=2>I am still having problems with the Eu translator and Borland.</FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2>I run through everything just as i should</FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2>C:\EUPHORIA\test>ecw test.exw</FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2>4 .c files were created.<BR>To build your .exe file, type: emake<BR></FONT></DIV> <DIV><FONT face=Arial size=2>C:\EUPHORIA\test>emake<BR>compiling with BORLAND<BR>test.c:<BR>main_.c:<BR>init_.c:<BR>get.c:</FONT></DIV> <DIV><FONT face=Arial size=2>you can now execute: test.exe<BR></FONT></DIV> <DIV><FONT face=Arial size=2>C:\EUPHORIA\test>test.exe</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>at this point, the message pops up about having a free translator, then disappears.</FONT></DIV> <DIV><FONT face=Arial size=2>after that, i am left with nothing! </FONT><FONT face=Arial size=2>Why?</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>~Greg<BR></DIV></FONT> --Boundary_(ID_eUt1rCYck4NWDgtnazX9aw)--
2. Re: still having translator problems
- Posted by Robert Craig <rds at RapidEuphoria.com> Sep 13, 2002
- 404 views
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
3. Re: still having translator problems
- Posted by g.haberek at comcast.net Sep 15, 2002
- 394 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 > > > >
4. Re: still having translator problems
- Posted by Robert Craig <rds at RapidEuphoria.com> Sep 16, 2002
- 394 views
g.haberek writes: > 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 It works for me on XP, with either the PD or Complete Translator. With the PD, a black console window comes up with "eliminate this message and delay", but then the "Test" window also comes up after a few seconds of delay. I have Win32Lib version .57.11 in my EUINC variable. Make sure you use: ecw -bor yourfile.exw to translate to Borland C, otherwise it might try to translate for Watcom C. Also, check the task bar at the bottom, in case the "Test" window is just not immediately visible. Also check that you have the 2.3 official release installed for both the interpreter and the translator for Borland. Type: exw ecw and note the version numbers. Regards, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com