1. e2c translator problems

This is a multi-part message in MIME format.

------=_NextPart_000_0006_01C0D959.71014800
	charset="iso-8859-2"

1) I can't run compiled programs that use Exotica (BCC5.5) I just see =
the nag screen, cursor changes to 'busy',     but nothing happens.
2) I wish the Translator can generate some extra BAT file which deletes =
all the *.C stuff after compilation.
    Yes, i know i can create the bat by myself but i'm so lazy...
3) Translator cannot open file in folder which has the following =
format"a, a" (there's a space after a comma)
    but the interpreter can.
    Example :=20
    i've got file C:\EUPHORIA\Projects\Cajka, Matrix\matrix.exw
    when i run ecw C:\EUPHORIA\Projects\Cajka, Matrix\matrix.exw
    i get "Can't open C:\EUPHORIA\Projects\Cajka,.exw"

    I thinks this is because ecw is a command line app and it thinks =
text after space is another parameter.
    this doesn't happen with exw because it takes only one paramter.
4) i must edit emake.bat manually because it contains bad path for =
borland include and lib dirs.
my autoexec :=20
SET =
PATH=3DC:\WINDOWS;C:\WINDOWS\COMMAND;C:\WINDOWS;C:\EUPHORIA\BIN;C:\BORLAN=
D\BCC55;C:\BORLAND\BCC55\BIN;C:\BORLAND\BCC55\INCLUDE;=20
and generated emake.bat :
@bcc32 -tW -q -w- -O2 -5 -a4 -IC:\BORLAND\BCC55;C:\include =
-LC:\BORLAND\BCC55;C:\lib Email.c @objfiles.lnk


------=_NextPart_000_0006_01C0D959.71014800
Content-Type: text/html;
	charset="iso-8859-2"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-2" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3D"Arial CE" size=3D2>1) I can't run compiled programs =
that use=20
Exotica (BCC5.5)&nbsp;I just see the nag screen, cursor changes to =
'busy',=20
&nbsp;&nbsp;&nbsp; but nothing happens.</FONT></DIV>
<DIV><FONT face=3D"Arial CE" size=3D2>2) I wish the Translator can =
generate some=20
extra BAT file which deletes all the *.C stuff after =
compilation.</FONT></DIV>
<DIV><FONT face=3D"Arial CE" size=3D2>&nbsp;&nbsp;&nbsp; Yes, i know i =
can create=20
the bat by myself but i'm so lazy...</FONT></DIV>
<DIV><FONT face=3D"Arial CE" size=3D2>3) Translator cannot open file in =
folder which=20
has the following format"a, a" (there's a space after a =
comma)</FONT></DIV>
<DIV><FONT face=3D"Arial CE" size=3D2>&nbsp;&nbsp;&nbsp; but the =
interpreter=20
can.</FONT></DIV>
<DIV><FONT face=3D"Arial CE" size=3D2>&nbsp;&nbsp;&nbsp; Example : =
</FONT></DIV>
<DIV><FONT face=3D"Arial CE" size=3D2>&nbsp;&nbsp;&nbsp; i've got file=20
<EM>C:\EUPHORIA\Projects\Cajka, Matrix\matrix.exw</EM></FONT></DIV>
<DIV><FONT face=3D"Arial CE" size=3D2>&nbsp;&nbsp;&nbsp; when i run =
<EM>ecw=20
C:\EUPHORIA\Projects\Cajka, Matrix\matrix.exw</EM></FONT></DIV>
<DIV><FONT face=3D"Arial CE" size=3D2>&nbsp;&nbsp;&nbsp; i get =
<EM>"Can't open=20
C:\EUPHORIA\Projects\Cajka,.exw"</EM></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3D"Arial CE" size=3D2>&nbsp;&nbsp;&nbsp; I thinks this =
is because=20
ecw is a command line app and it thinks text after space is another=20
parameter.</FONT></DIV>
<DIV><FONT face=3D"Arial CE" size=3D2>&nbsp;&nbsp;&nbsp; this doesn't =
happen with=20
exw because it takes only one paramter.</FONT></DIV>
<DIV><FONT face=3D"Arial CE" size=3D2>4) i must edit emake.bat manually=20
because&nbsp;it contains bad path for borland include and lib =
dirs.</FONT></DIV>
<DIV><FONT face=3D"Arial CE" size=3D2>my autoexec : </FONT></DIV>
<DIV><FONT face=3D"Arial CE" size=3D1><EM>SET=20
PATH=3DC:\WINDOWS;C:\WINDOWS\COMMAND;C:\WINDOWS;C:\EUPHORIA\BIN;C:\BORLAN=
D\BCC55;C:\BORLAND\BCC55\BIN;C:\BORLAND\BCC55\INCLUDE;&nbsp;</EM></FONT><=
/DIV>
<DIV><FONT face=3D"Arial CE" size=3D2>and generated emake.bat =
:</FONT></DIV>
<DIV><FONT face=3D"Arial CE" size=3D1><EM>@bcc32 -tW -q -w- -O2 -5 -a4=20
-IC:\BORLAND\BCC55;<FONT color=3D#ff0000>C:\include=20
</FONT>-LC:\BORLAND\BCC55;<FONT color=3D#ff0000>C:\lib </FONT>Email.c=20
@objfiles.lnk</EM></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3D"Arial CE"=20

------=_NextPart_000_0006_01C0D959.71014800--

new topic     » topic index » view message » categorize

2. Re: e2c translator problems

Martin Stachon writes:
SET PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\WINDOWS;
C:\EUPHORIA\BIN;
C:\BORLAND\BCC55;
C:\BORLAND\BCC55\BIN;
C:\BORLAND\BCC55\INCLUDE; 

The only Borland directory that should be on your PATH is:
C:\BORLAND\BCC55\BIN
Remove the other two Borland directories. They don't
contain executable files, so they shouldn't be on your PATH.

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

new topic     » goto parent     » topic index » view message » categorize

3. Re: e2c translator problems

Thanks, it helped.
Martin

----- Original Message ----- 
From: Robert Craig <rds at RapidEuphoria.com>
Subject: Re: e2c translator problems


> The only Borland directory that should be on your PATH is:
> C:\BORLAND\BCC55\BIN
> Remove the other two Borland directories. They don't
> contain executable files, so they shouldn't be on your PATH.
> 
> Regards,
>    Rob Craig
>    Rapid Deployment Software
>    http://www.RapidEuphoria.com

new topic     » goto parent     » topic index » view message » categorize

4. Re: e2c translator problems

I played with it a bit. What I investigated :
it has nothing to do with the DLL. The compiled program freezes in emain.ew,
line
162 :
c_proc(ShowWindow, {hwnd, SW_SHOW})
I tried some things, like SW_SHOWDEFAULT, changing hwnd etc. but nothing
helped.
The same routine is used in \DEMO\WIN32\WINDOW.EXW and it works compiled.
I think the problem is in the translator.
Maybe someone with The Complete Edition Translator can do a better debug.

Martin

----- Original Message -----
From: Chris Bensler <bensler at mailops.com>
To: <EUforum at topica.com>
Sent: Thursday, May 10, 2001 5:49 PM
Subject: RE: e2c translator problems

> Hi Martin,
>
>    Unfortunately, exotica wont translate to C..
> Something about how the dll was built.. Nothing to do with the
> translator..
>
> It will hopefully be fixed in the next release of exotica..
>
> Chris
>
> martin.stachon at worldonline.cz wrote:
> > 1) I can't run compiled programs that use Exotica (BCC5.5) I just see
> > the nag screen, cursor changes to 'busy',     but nothing happens.

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu