Development/삽질의 추억
디렉토리(경로) 가져오기 및 설정
키르히아이스
2011. 8. 13. 16:54
// 실행파일 경로 가져오기
GetCurrentDirectory( DWORD 변수길이, LPTSTR 변수 );
// 윈도우 경로 가져오기
GetWindowsDirectory( LPTSTR 변수, UINT 변수길이 );
// 윈도우 시스템 경로 가져오기
GetSystemDirectory( LPTSTR 변수, UINT 변수길이 );
// 경로 설정
SetCurrentDirectory( 변수 );