Please follow closely....
1) I create a new Project, save it to newly created folder
2) Put just a button on my form
3) Run... works fine, create an EXE that is 14.7 MB
4) Go into Prj. Options and UNCHECK the "Generate Debugger info... in exe" (Hopefully to reduce EXE file size)
5) Compile to EXE at (1.7 MB)
6) Try to Double-click EXE to run directly and get this error...
"Windows cannot access..." (see screen #1 below)
7) After a minute, my BitDefender AntiVirus quanartines it. It thinks it is a virus.
(see screen #2 below)
I go back into LAZ, turn on the Debugger again and now it will never compile again in that folder.
And I get error saying cannot run exe (see #3 screen)
9) Then it displays the project1.lpr file highlighting the "end." line
No matter what i do, I cannot create another EXE in this folder or with LAZ on this project.
I have to actually delete the folder and create a new folder... BUT NOT TURN OFF the DEBUGGER check box.
What is going on with the DEBUGGER CHECK BOX causing BitDefender to flag it as a virus.
As long as I don't uncheck the Debugger, BitDefender doesn't quarantine anything.