"Win API"의 두 판 사이의 차이
jjuiddong
(새 문서: * 더블 버퍼링 ** https://github.com/jjuiddong/wxMemMonitor 의 Target프로젝트의 target.cpp 파일에 구현되어 있다. ** http://msdn.microsoft.com/en-us/library/ms969905...) |
|||
2번째 줄: | 2번째 줄: | ||
** https://github.com/jjuiddong/wxMemMonitor 의 Target프로젝트의 target.cpp 파일에 구현되어 있다. | ** https://github.com/jjuiddong/wxMemMonitor 의 Target프로젝트의 target.cpp 파일에 구현되어 있다. | ||
** http://msdn.microsoft.com/en-us/library/ms969905 사이트를 참조해서 구현했다. | ** http://msdn.microsoft.com/en-us/library/ms969905 사이트를 참조해서 구현했다. | ||
+ | * 실행인자값 가져오기 | ||
+ | LPWSTR *szArglist = CommandLineToArgvW(GetCommandLineW(), &nArgs); | ||
+ | if (nArgs > 1) | ||
+ | { | ||
+ | configFileName = wstr2str(szArglist[ 1]); | ||
+ | SetConfigFileName( configFileName ); | ||
+ | } |
2013년 5월 15일 (수) 16:31 판
- 더블 버퍼링
- https://github.com/jjuiddong/wxMemMonitor 의 Target프로젝트의 target.cpp 파일에 구현되어 있다.
- http://msdn.microsoft.com/en-us/library/ms969905 사이트를 참조해서 구현했다.
- 실행인자값 가져오기
LPWSTR *szArglist = CommandLineToArgvW(GetCommandLineW(), &nArgs); if (nArgs > 1) { configFileName = wstr2str(szArglist[ 1]); SetConfigFileName( configFileName ); }