Page 1 of 1

A weird problem!

Posted: Sun Feb 13, 2011 9:06 pm
by EvilByte
Hi,
When an program tries to write an executable (for example a patcher) i get "File access denied error".
I noticed that the "System" process is using the file for 30 seconds and then it gets deleted :shock:

This happens even when i try to compile from PureBasic IDE or CodeBlocks...
Any ideas?

I'm using windows 7 64bit

Re: A weird problem!

Posted: Sun Feb 13, 2011 10:04 pm
by IdeasVacuum
What is the name you are trying to give your exe? Is there anything inside the exe that the OS/Spyware/Anti-Virus would be suspicious of?

Re: A weird problem!

Posted: Sun Feb 13, 2011 10:26 pm
by EvilByte
It happens at all executables despite the name. If i try to replace the exe from windows explorer things are ok but when another program
tries to overwrite the exe i get this error...
Image


Also if i try to execute it i get:
[Window Title]
X:\Lab\dev\test\bin\Debug\test.exe

[Content]
Windows cannot access the specified device, path, or file. You may not have the appropriate permissions to access the item.

[OK]
and after ~30 sec the file disappears

Re: A weird problem!

Posted: Thu Feb 17, 2011 5:08 pm
by Rook Zimbabwe
how paranoid is your AV software? is the IDE set to run in ADMIN mode? Did win7 just do another security update?

of course it is a "PATCH" program... nominally win7 won't let that sort of thing happen anyway... BAD IDEA... just recode to REPLACE the program and see what happens...