Author Topic: codeblocks producing "immortal" exe files  (Read 1010 times)

Offline Arkazex

  • Single posting newcomer
  • *
  • Posts: 1
codeblocks producing "immortal" exe files
« on: September 07, 2017, 06:33:07 pm »

I don't know if this is the right place to post this, as it could very well be an issue with mingw, but I'm not 100% sure either way.

Basically, my issue is that roughly 1/50 times I compile my project, it produces an .exe which can not be deleted.  Rebooting the computer doesn't do it, takeown doesn't have permission, even using the built in windows 10 administrator account, I can't read, write, or even view any details about the file.  In the past, the only way to remove this file has been to boot the computer into recovery mode, and use the command line there to delete it.

Has anyone else had this issue?  And if so, how can I fix it?  Also, if it's not a codeblocks issue, where should I seek help?

 - N

Online stahta01

  • Lives here!
  • ****
  • Posts: 6794
    • My Best Post
Re: codeblocks producing "immortal" exe files
« Reply #1 on: September 07, 2017, 06:56:21 pm »
It is not likely to be an Code::Blocks issue.

I would guess it is a Compiler or Operating System issue.
Or, maybe a Virus scanner issue.

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
When in doubt, read the CB WiKi FAQ.

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 2600
Re: codeblocks producing "immortal" exe files
« Reply #2 on: September 07, 2017, 11:07:49 pm »
Most likely it is your anti virus that blocks the exe file....