A, B 두 프로그램이 있다.
A에서 짧은 경로를 사용하여 B를 실행하면 B에서 호출한 GetModuleFileName 함수는 짧은 경로를 반환한다.
The string returned will use the same format that was specified when the module was loaded. Therefore, the path can be a long or short file name, and can use the prefix "\\?\".
http://msdn.microsoft.com/en-us/library/windows/desktop/ms683197(v=vs.85).aspx
'library > WIN32API' 카테고리의 다른 글
자식 컨트롤 겹칠 때 (0) | 2013.11.26 |
---|---|
DllMain에서 동기화 문제 주의 (0) | 2010.12.16 |
Win32 과연 어떤 Timer함수를 사용할 것인가? (0) | 2010.12.14 |
MBCS 프로젝트 유니코드 전환 가이드 (0) | 2010.11.24 |
프로세스간 동기화 테스트 (0) | 2010.11.24 |