QB64.org Forum

Active Forums => QB64 Discussion => Topic started by: GTC on December 18, 2020, 08:20:00 am

Title: QB64 (v1.4) is creating multiple versions/generations of the EXE file
Post by: GTC on December 18, 2020, 08:20:00 am
QB64 (v1.4) is creating multiple versions/generations of the EXE file on some sort of apparently random basis. 

I expect it to simply overwrite the previous version.

Situation:

Program Blah.bas

results in:

Blah.exe
Blah.exe(1)
Blah.exe(2)

I've never seen that behavior from the compiler before recently downloading V1.4

Title: Re: QB64 (v1.4) is creating multiple versions/generations of the EXE file
Post by: FellippeHeitor on December 18, 2020, 08:24:01 am
If a previous version is still running in the background - a hanging application, endless loop, hidden window ended with END and not SYSTEM (countless possible reasons) - then QB64 won't be able to overwrite the older file. Before you hit F5, please check Task Manager to see if that's the case.

If it's not, please check that you have full write permissions to your QB64 folder.

If that's settled, check that your antivirus/Anti-Malware isn't grabbing hold of your binaries for verification everytime you run them - it's always wise to whitelist your whole QB64 folder in those types of software for smoother operation.
Title: Re: QB64 (v1.4) is creating multiple versions/generations of the EXE file
Post by: GTC on December 18, 2020, 08:38:56 am
Actually, in the beginning (after downloading the new version of QB64), Avast did start scanning those output EXE files, so I whitelisted them.

I'll whitelist the whole shooting match as you suggest.

I have had a few abends, so they might have been responsible.