A weird problem!

For everything that's not in any way related to PureBasic. General chat etc...
EvilByte
User
User
Posts: 13
Joined: Wed Dec 15, 2010 5:21 pm
Location: Greece

A weird problem!

Post 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
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: A weird problem!

Post 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?
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
EvilByte
User
User
Posts: 13
Joined: Wed Dec 15, 2010 5:21 pm
Location: Greece

Re: A weird problem!

Post 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
User avatar
Rook Zimbabwe
Addict
Addict
Posts: 4322
Joined: Tue Jan 02, 2007 8:16 pm
Location: Cypress TX
Contact:

Re: A weird problem!

Post 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...
Binarily speaking... it takes 10 to Tango!!!

Image
http://www.bluemesapc.com/
Post Reply