PDA

View Full Version : How to use ECC32.EXE with the --el_alter_exe


Unregistered
30-Dec-2008, 11:11 PM
Hello,

I'm very interested in learning how to use Ecc32.exe with the --el_config and --el_alter_exe options. Please provide some more examples on how to use this command line compiler. What is the name and/or extension of the config file? What can be included in the config file? Where does --el_alter_exe look for Eureka debug info to add to the Delphi compiled project? Things like that. The descriptions in the Help file and the printable manual file are very short and very hard to follow.

Thank you very much.

julio_aragonj
07-Jan-2009, 04:03 PM
Hello,


Hello ecc32.exe line compiler use dcc32.exe compile for Delphi Project or make.exe for CBuilder Project, so you can to mix Native Deplhi's Parameter with EurekaLog's Parameter like --el_config used for change or add options and change path of the Eurekalog file, for example you can change email destiny, customize messages, save info into the Delphi project file example DPR or DPROJ file. The another EurekaLog Parameter is the --el_alter_exe used for to write EurekaLog info into a Native .exe file.

My Best Regards:rolleyes:
Julio

Unregistered
08-Jan-2009, 06:41 PM
Thank you for your info.

julio_aragonj
08-Jan-2009, 08:56 PM
Hi dear guest

I propose two examples about --el_config. The first you can create a copy "DefProj.eof" placed into "C:\Archivos de programa\Borland\Delphi7\Bin" (this is in my case) and modify the parameters, later compiler your project, for example:


ecc32.exe myproject.dpr --el_config"c:\copyfolder\copyopt.eof"


I think that follow example can help you. you can create a copy "DefProj.eof" placed into "C:\Archivos de program\Borland\Delphi7\Bin" (this is in my case) or go to the EurekaLog Option into Delphi Menu Project, click in the Export Button for get a Config Copy. You will see the options in this file such "Output Path=d:\temp" (EurekaLog File Path), "Activate=1" to active eurekalog in the project. When you have already this config file, you can to compile the project, for example:


ecc32.exe myproject.dpr --el_config"c:\copyfolder\copyopt.eof"


When your compiler have finished, open that project and you will find it this option in your project.

Referred to --el_alter_exe suppose that you have a Native Delphi Application and you wish to add EurekaLog Option to this application, then you can to use:


ecc32.exe --el_alter_exe"yourproject.dpr"


this is valid for Delphi project file

I hope that it can help you.

My Best Regards

Julio