반응형 Visual C++11 [개발] Visual C++ 디버깅 Trace log 파일 작성하기 닷넷 프레임워크 클래스 라이브러리에 있는 Trace 클래스를 이용하면 된다. String^ logFile = "C:\\service_log.txt"; TextWriterTraceListener^ serviceTraceListener = nullptr; // Create a log file for trace output. // A new file is created each time. If a // previous log file exists, it is overwritten. StreamWriter^ myFile = File::CreateText( logFile ); // Create a new trace listener that writes to the text file, // and add it to.. 2010. 8. 17. [개발/Visual C++] MFC ActiveX 만들기 할때 필요한 MFC 라이브러리 MFC ActiveX를 만들기 할때 관련 DLL을 포함시켜야하는 경우가 있다. [App.Code]에 포함시킬 때 순서는 OCX 먼저 포함하고 DLL은 나중에 포함시켜야 DLL먼저 설치되고 나중에 OCX 파일이 실행되어 문제가 없다 AcitveX에 포함할 MFC 관련 DLL MFC42.DLL MSVCRT.DLL OLEPRO32.DLL 참고로 ActiveX설치할 때 설치되는 OCX나 INF파일의 위치는 웹상에서 설치된 파일들의 정보 레지스트리는 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Code Store Database\Distrbution Units 폴더상에서는 C:\Windows\Downloaded Program Files 를 확인한다. 별도의 언인스톨 프로그램이 없다면 위의 .. 2010. 8. 13. 이전 1 2 다음 반응형