반응형

Windows Programming 3

오류(exception) 발생시 Debug 메시지창 띄우냐 마느냐 Config

Configuring Automatic Debugging Users can configure automatic debugging to help them determine why their system or an application has stopped responding. Configuring Automatic Debugging for System Crashes To configure the target computer to generate a crash dump file when the system stops responding, use the System application in Control Panel. Click Advanced system settings, which displays the ..

Windows Programming 2010.02.17

특수 디렉토리 가져오기

1. 윈도우 디렉토리 UINT GetWindowsDirectory(LPYSTR lpBuffer, UINT uSize); 2. 시스템 디렉토리 UINT GetSystemDirectory(LPTSTR lpBuffer, UINT uSize); -> System32 서브폴더 3. 특수 폴더 절대 경로 조사 1. HRESULT SHGetSpecialFolderLocation(HWND hwndOwner, int nFolder, LPITEMIDLIST *ppidl); nFolder - 특수폴더 ID (윈도우즈 API정복 p.1827참고) LPITEMIDLIST pidl; 의 주소를 넘겨주고 값을 받아온다. 이값으로부터 절대 경로 구할수 있음. 2. BOOL SHGetPathFromIDList(LPCITEMIDLIST..

Windows Programming 2010.02.17
반응형