Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: File locking problem.

01 Feb 2012   #21
JimLewandowski

 
 

I assume this is repeatable enough that if you sit in Visual Studio and compile and link this .exe you can get this error message.

Get into Resource Monitor and get to the CPU tab at the top and the HANDLE window below.

I don't know if the enqueue (semaphore/lock) is at the .exe level. For example, I have a .bat file opened in notepad but in the handle search, only the DIRECTORY is shown via a handle.

So, be ready and have your .exe directory typed into the handle SEARCH entry so you can see what Visual Studio is doing with it.

You can keep clicking the up/down arrow thing which does a REsearch. It seems you do NOT have to have ANY processes in the top window checked to allow THEM to be searched. It seems the search will search everywhere even if none are checked.

If no go here, then we'll try a lock trace (which I've never done but I can play around with to get it set up correctly).


My System SpecsSystem Spec
.
01 Feb 2012   #22
OliStabilize

Windows 7 Ultimate 64bit SP1
 
 

happens every time unless waiting about 2 minutes.. Compile some code.. Make a change in the code.. recompile =:

"LINK : fatal error LNK1104: cannot open file 'C:\Users\Oli\documents\visual studio 2010\Projects\test\Debug\test.exe'"

2 seconds will try that above

Thanks
My System SpecsSystem Spec
01 Feb 2012   #23
OliStabilize

Windows 7 Ultimate 64bit SP1
 
 

VCExpress.exe is the recognised handler when the application successfully recompiles and executes but nothing when the error is brought up.

Could try the lock trace?

Thanks
Oli
My System SpecsSystem Spec
.

Reply

 File locking problem.




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Possible File Association Problem or Open With Problem! MAJOR
Apologies if this is not the appropriate catagory but i had trouble finding a suitable one, here is my problem: I was messing about with a file using winrar, (sorry i cant remember which file it was) i right clicked the file and clicked 'open with' i chose winRAR and it screwed up and decided...
Software
Problem with file copying adversely affecting media/file sharing & WMC
WMC recording/playback and media/file sharing seems to work fine until I go to copy a file between drives, where one of those drives is currently using some of its i/o bandwidth to do media. The copy hogs the i/o bandwidth, doing nasty things to the real-time needs. How do I permanently tell...
Performance & Maintenance
Folder/file locking software
Hi, Is anyone aware of any folder/file locking software that I can use to completely block access (read and write) to several folders on a removal USB? This request is for a friend who keeps sensitive information on a removal USB drive. The idea is that if it is ever lost/stolen he can rest...
Software
Problem Installing, missing file or HD problem?
Hi I hope someone can help me on here - I've tried for about 2 hours to get a copy of windows 7 working on my old pc and really can't see what the problem is when it comes to doing a clean installation. It's not "old' only a year old or so with very good specs but I use another machine now so...
Installation & Setup
Locking up
i have installed an upgrade of window 7 from xp. all works fine until i have the computer on overnight and then i try to start up the system out of energy conserve mode(black screen). i get the circle going around and around but never gets out of this mode. any ideas?
BSOD Help and Support
locking a file from yourself
Here's one for you. I work at home and often find myself distracted by going to my favorite websites. To avoid this problem I've been using the hosts technique to block particular websites. It worked for a while but I still find myself going to the hosts file and unblocking myself. Does...
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 21:03.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App