도전2022
파일의 소유자 찾는 코드 본문
http://www.codeguru.com/cpp/w-p/dll/article.php/c3641/Whos-Locking-v13.htm
다른 곳에서 파일을 사용중이여서 열수 없는 경우가 발생..ㅠ.ㅠ
그러다 찾은 프로그램. 코드
Environment: VC6 SP3, NT4 SP5, Windows 95, Windows 98 Have you ever tried to copy a DLL and had an "Access Denied" or "Shared Violation" error? Did you have to reboot everytime you needed to upgrade a DLL? If yes, this program is for you! Who'sLocking? is a a devpt/system management tool to find which process is locking a DLL. Whenever a process loads a module (DLL), it locks the DLL and no other process can delete and/or write in it: you get "Sharing Violation" errors (or "Access Denied"). Once you know the name of the process who's locking your DLL, you can stop this process and have full access to the DLL module. There's no need to reboot your system anymore... The program registers itself in the Windows Shell when you start it the first time. To use this program: The WhoSLocking program uses a several C++ class from my Simple Library:Who's Locking? v1.3
PROGRAM FEATURES
INSTALLATION
USAGE
IMPLEMENTATION
This class is reusable (no GUI stuff in it) and runs on both Windows NT and Windows 98. Please refer to the CSimpleProcessAPI.html file for more details.
This class is reusable but runs only on Windows NT. Please refer to the CServiceManager.html file for more details.
Please refer to the CWindowsRegistry.html file for more details.Downloads
Download runtime - 99 Kb
Download source - 105 Kb
'소스코드' 카테고리의 다른 글
PC에서 안드로이드 실행 (0) | 2012.05.04 |
---|---|
c#, wpf 에서 파일 주소를 브러쉬 데이터로 만들자. (0) | 2012.05.03 |
SHGetFolderPath (0) | 2012.04.25 |
ffmpeg (0) | 2012.04.25 |
The script on this page appears to have a problem. do you want to stop the script? (0) | 2012.04.13 |