Hi, Jaime

Here are a couple of other thoughts for you:

I change the name of the exe frequently. If you "Save Project as" to your
usual directory then you create just two or three new files (res, exe etc).
The debugger works perfectly (or at least as good as usual!) and you keep a
program at a known point of development.

I use the exe name within the program to tune the program behaviour, a bit
like a parameter, but more human friendly. For security, you can also
distribute programs with non-working names which you change during a
validated installation process to something that will actually run.



Bobby Clarke



  -----Original Message-----
  From: [email protected] [mailto:[EMAIL PROTECTED]
Behalf Of jclima69
  Sent: 14 July 2005 11:44
  To: delphi-en
  Subject: Re: [delphi-en] Executable name different from project name


     Thank you for the answer.

     I think you're right and I'll keep the EXE name. The solution is
possible but the result may not be as good as I thought: the debugger issue
you talked about is something to think of. It isn't a good idea not being
able to debug anymore.

     Thank you again.


  JAIME.



  > You can add a batch file to your project group. The batch file can
  > rename the file for you. Choose "Compile all" or "Build all" from the
  > Project menu so that after your project gets compiled, Delphi executes
  > the batch file.
  >
  > Delphi provides an interface for performing something like this
  > automatically. You can write an expert that will get triggered after a
  > project gets compiled. The JCL includes a demo project that uses that
  > hook to attach the map file to the compiled program, and you could adapt
  > that tool to do what you need. If you rename the EXE, though, you won't
  > be able to debug it anymore because the debugger won't know where your
  > EXE is.
  >
  > --
  > Rob
  >
  >
  > -----------------------------------------------------
  > Home page: http://groups.yahoo.com/group/delphi-en/
  > To unsubscribe: [EMAIL PROTECTED]
  >
  >
  >
============================================================================
===
  > YAHOO! GROUPS LINKS
  >
  > * Visit your group "delphi-en" on the web.
  >
  >
  > To unsubscribe from this group, send an email to:
  > [EMAIL PROTECTED]
  >
  >
  > Your use of Yahoo! Groups is subject to the Yahoo!_Terms_of_Service.
  >
  >
============================================================================
===
  >
  >

  __________________________________________________________________________
  UOL Fone: Fale com o Brasil e o Mundo com até 90% de economia.
  http://www.uol.com.br/fone



  [Non-text portions of this message have been removed]



  -----------------------------------------------------
  Home page: http://groups.yahoo.com/group/delphi-en/
  To unsubscribe: [EMAIL PROTECTED]



----------------------------------------------------------------------------
--
  YAHOO! GROUPS LINKS

    a..  Visit your group "delphi-en" on the web.

    b..  To unsubscribe from this group, send an email to:
     [EMAIL PROTECTED]

    c..  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service.


----------------------------------------------------------------------------
--




[Non-text portions of this message have been removed]



-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to