[code]
char strShortPath[MAX_PATH];
memset(strShortPath, 0x00, sizeof(strShortPath));
// 짧은 패스를 만들어주기 위해서 작업중.
GetShortPathName((LPCTSTR)m_szFileFullPath, strShortPath, MAX_PATH);
m_szFileShortPath = (CString)strShortPath;
[/code]
char strShortPath[MAX_PATH];
memset(strShortPath, 0x00, sizeof(strShortPath));
// 짧은 패스를 만들어주기 위해서 작업중.
GetShortPathName((LPCTSTR)m_szFileFullPath, strShortPath, MAX_PATH);
m_szFileShortPath = (CString)strShortPath;
[/code]
'Windows > MFC' 카테고리의 다른 글
레지스트리에 시작프로그램 등록위치 registry (0) | 2013.10.02 |
---|---|
유효한 드라이브 찾기 GetDriveType (0) | 2013.10.02 |
폴더를 드라이브로 만들어 주기 (0) | 2013.10.02 |
AfxExtractSubString (0) | 2013.10.02 |
[MACRO] comment process (0) | 2013.10.02 |