본문 바로가기

나머지/IT개발.잡다한것.82

간단한 CWinThread 사용법과 MSDN 링크 Class Wizard로 CWinThread를 상속받은 MyThread를 만든다. 그리고 dlg같은 스레드를 쓰려는 클래스의 맴버변수로 CWinThread* m_pWinThread; 를 만든다. 다음은 스레드 생성 m_pWinThread = AfxBeginThread(RUNTIME_CLASS(MyThread)); 다음은 윈스레드의 메세지 핸들링 방법이다. MyThread가 받을 메세지로 TM_MYMSG라는 것이 Resource.h에 있다고 치자. 없으면 쓰자 #define TM_MYMSG 700 그리고 MyThread.h에 void MyMsg();를 하고 BEGIN_MESSAGE_MAP(MyThread, CWinThread) //{{AFX_MSG_MAP(TestWinThread) // NOTE - the.. 2012. 10. 31.
윈도우 실행파일 구조와 원리, PEview PEview 실행파일의 구조를 볼 수있는 프로그램 my quick and easy way to view the structure and content of 32-bit Portable Executable (PE) and Component Object File Format (COFF) files which supports the viewing of EXE, DLL, OBJ, LIB, DBG, and other file types. http://www.magma.ca/~wjr/ 고급개발자가 보는책같다... ㅎㅎㅎㅎㅎㅎㅎㅎㅎㅎㅎㅎㅎㅎㅎㅎㅎㅎㅎㅎㅎㅎㅎㅎㅎㅎㅎㅎㅎㅎㅎㅎㅎㅎㅎㅎㅎ Windows 시스템 실행파일의 구조와 원리 이호동 (지은이) | 한빛미디어 | 2005-05-26 Windows OS의 원리를 알아야 .. 2012. 10. 29.
VS2010 에러 error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup 1>msvcrt.lib(crtexew.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup 1>C:\File\Image\GrayImage\Release\GrayImage.exe : fatal error LNK1120: 1 unresolved externals 프로젝트 오른쪽버튼 클릭-> 속성-> 링커 > 시스템 -> 섭시스템 윈도우로 바꾸거나 콘솔로 바꿔서 안되면 프로젝트 오른쪽버튼 클릭-> 속성-> 링커 > 커맨드라인에 /ENTRY:"wWinMainCRTStartup" 2012. 10. 29.
닷넷 .net 프레임워크4 다운로드 마이크로소프트 홈페이지 독립 실행형 설치 Full 언어팩 설치 클릭하면 MS의 다운로드 페이지로 연결됩니다.유용한 정보 얻으셨으면 아래 광고나 손가락 클릭해주세요~ (로그인 불필요합니다) 2012. 10. 29.
반응형