작업디렉토리 얻어오기/설정하기
프로그램의 작업 디렉토리와 관련된 함수는 아래와 같습니다. GetCurrentDirectory 함수 : 현재의 작업 디렉토리를 얻어온다. SetCurrentDirectory 함수 : 작업디렉토리의 경로를 셋팅한다. 일반적으로 작업디렉토리는 파일이 실행된 경로가 지정됩니다. 아래는 작업디렉토리의 변경이 일어나는 대표적인 예인 CFileDialog 대화상자를 이용한 경우입니다 참고하시면 될 듯 싶습니다. char path[MAX_PATH] = {0}; // 현재의 작업디렉토리를 저장한다. GetCurrentDirectory(MAX_PATH, path); // CFileDialog 를 Open 모드로 생성한다. CFileDialog dlg(TRUE); if(dlg.DoModal()==IDOK){ // 사용자가..
MFC
2010. 9. 6. 14:45
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- UITableView
- AVAudioSessionInterruptionNotification
- CAD
- C
- ios
- object-c
- apns
- UINavigationBar
- SDK
- setSelectionIndicatorImage
- distribution
- C++
- iOS5
- AVAudioSessionDelegate
- 배포
- badgeValue
- MFC
- objective-c
- AVAudioSession
- beginInterruption
- xcode
- iPhone
- ARX
- ManagedObjectModel
- progressively
- 애플 문서
- git hub
- setBackGroundImage
- endInterruption
- MappingModel
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
글 보관함