Hi All,
Still having trouble compiling and running my project from the Delphi IDE
Im using Delphi Community 10.4
So here is what I have found
At first start up I can click Ctl+F9 which compiles and runs my project exe no problem at all
Now after running and closing my project when I try to do that again (ie Ctl+F9) I get
[dcc32 Fatal Error] F2039 Could not create output file ‘.\Win32\Debug\CTC_DB_Interface_01.exe’
So if I now run task manager and look under Background Processes my project exe does not show up
BUT
if I close Delphi my project exe is listed under Background Processes and I can click on the project exe and end the task
Now when I re-open Delphi and then now try compile and run my project exe (Ctl+F9) it compiles and runs OK with no issues
BUT
when I now try to compile the project I’m back to the - Can not create output file stuff
When I run the project exe outside of Delphi - same thing, it shows up in the background process list in task manager
Now it seems to me that when I close my exe the application is not being destroyed
However,
the menu exit procedure is pretty simple - ie just a call to close
procedure TCTC_MainScreen.Exit1Click(Sender: TObject);
begin
Close;
end;
the application runs as
try
Application.Initialize;
Application.MainFormOnTaskbar := True;
Application.CreateForm(TCTC_MainScreen, CTC_MainScreen);
Application.CreateForm(TDataModule2, FBDataModule);
Application.CreateForm(TCTC_DB_Options, CTC_DB_Options);
Application.Run;
finally
Application.Destroy;
end;
so everything should be getting cleaned up and the project being ended
Can anyone please give me some advice on this as its driving me nuts
Thanks in advance
Kind regards
Grant Brown