Search code examples
delphicompilationexe

Delphi does not generate any exe file


I have installed Delphi 2010 and tried to create a new project clearly. but when i compile my project, delphi does not generate any exe file.

also when i try to run application i get this error:
Could not find program, "C:\test\Project1.exe"

note: i haven't changed any configuration or settings of Delphi or project. everything is as it's default


Solution

  • It was about getting absolute path because i'd changed ProgramFilesPath and ProgramFilesDir in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion to D: without leading backslash.

    I changed it to D:\ and the problem was solved now

    thank you all