DelphiFAQ Home Search:

Delphi IDE does not generate EXE file

 

commentsThis article has not been rated yet. After reading, feel free to leave comments and rate it.

Problem:

I compile a Delphi Program within the Delphi IDE and it's not generating the EXE file. This seems like some misconfiguration of the environment but I where?


Answer:

Check the following options:

1) is there an existing EXE file that cannot be deleted/ overwritten because it is set to read-only or maybe still running? Check the task manager.
I have frequently the following situation in one project:

- I run the freshly compiled EXE from the IDE
- the EXE terminates itself upon an error condition and restarts itself
- I close the newly started instance.

Delphi then cannot overwrite the EXE file even though no instance is running. I have to close and restart Delphi. (Experiencing this with Delphi 3)


2) Maybe the EXE file is put to an unexpected (separate) directory?
Check Project->Options...->Directories/Conditionals->Output Directory.


3) Maybe someone changed the extension for the application from '.EXE' to something else? Under GEM the extension '.APP' was common..
So check Project->Options...->Application->Target File Extension


Comments:

 

 

NEW: Optional: Register   Login
Email address (not necessary):

Rate as
Hide my email when showing my comment.
Please notify me once a day about new comments on this topic.
Please provide a valid email address if you select this option, or post under a registered account.
 

Show city and country
Show country only
Hide my location
You can mark text as 'quoted' by putting [quote] .. [/quote] around it.
Please type in the code:

Please do not post inappropriate pictures. Inappropriate pictures include pictures of minors and nudity.
The owner of this web site reserves the right to delete such material.

photo Add a picture: