Delphi compiled program does not open

Asked

Viewed 1,018 times

2

Good afternoon,

I have software written in Delphi and noticed that the following problem occurs:

If I use the option to compile in debug mode, the executable is 32MB and works correctly.

If I use the option to compile in release mode, the executable stays with 9MB, starts the process in windows but does not open.

Can anyone tell me what the differences are and what might be happening?

  • When you try to run the .exe he returns some exception

  • Returns nothing, just opens the process in the task manager but the system does not display any screen.

  • Okay, how are you treating the exceptions?

  • with Try / except

  • Does this happen if you create a blank project as well? Checks if there are any directives forcing a difference between debug/release, and puts the . dpr, where it gives the star of the application, just to check.

  • I have the same problem. Even with new and blank projects (only the empty main form)!!!! The executable is generated but does not run, and its size (12MB) is not normal for an empty form.

Show 1 more comment
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.