File locking problem.

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 Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom
OS
Windows 7
CPU
AMD Phenom II X2 (dual-core)
Motherboard
GA-MA785GM-US2H
Memory
4G
Graphics Card(s)
integrated ATI HD 4200
Sound Card
integrated
Monitor(s) Displays
Samsung 24"
Screen Resolution
1920x1080
Hard Drives
1 SSD - Samsung 840 - 500 GB - OS and DATA partitions
1 SSD - Intel 320 - 120 GB (used for backups) - Misc/BACKUP
1 SATA HD - WD, 500 GB - BACKUP
PSU
Ultra X4 500W
Case
Ultra X-blaster
Keyboard
Microsoft Digital Media Pro
Mouse
Logitech WIRED!
Internet Speed
15 Mbps FIOS
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 Computer

Computer Manufacturer/Model Number
Sony Vaio VPCCA2C5E
OS
Windows 7 Ultimate 64bit SP1
CPU
Intel Core i7 2620M
Motherboard
C609LF67 Intel HM65
Memory
Generic 4GB Module
Graphics Card(s)
ATI Radeon 6630M & Intel HD 3000
Monitor(s) Displays
14" LCD (Laptop)
Screen Resolution
1600 x 900
Hard Drives
WDC WD3200BPVT-55ZEST0
Mouse
Cyborg R.A.T.3 Mouse
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 Computer

Computer Manufacturer/Model Number
Sony Vaio VPCCA2C5E
OS
Windows 7 Ultimate 64bit SP1
CPU
Intel Core i7 2620M
Motherboard
C609LF67 Intel HM65
Memory
Generic 4GB Module
Graphics Card(s)
ATI Radeon 6630M & Intel HD 3000
Monitor(s) Displays
14" LCD (Laptop)
Screen Resolution
1600 x 900
Hard Drives
WDC WD3200BPVT-55ZEST0
Mouse
Cyborg R.A.T.3 Mouse
Back
Top