프로젝트 컴파일을 하려는데
 stdafx.h(22): fatal error C1083: 포함 파일을 열 수 없습니다. 'atlapp.h': No such file or directory
위와 같은 에러가 발생하면, ATL이 아닌 WTL을 설치해주어야 한다.

하지만, Visual Studio 2005 까지는 WTL8.0이 지원 하지만,
아직 Visual Studio 2010(VS 10.0 버전인가..)을 정식 지원하는 WTL은 존재하지 않는다.

아래와 같은 방법으로 수동설치를 하면 된다는데.. VS2010에서 되려나?
To manually install AppWizard for VC++ .NET 2002/2003, copy all WTLAppWiz.* files from AppWiz\Files to VC++ .NET projects directory, %VC7DIR%\Vc7\vcprojects, where %VC7DIR% is the directory where VC++ .NET 2002/2003 is installed. After that, open WTLAppWiz.vsz and modify the like that contains ABSOLUTE_PATH to contain %WTLDIR%\AppWiz\Files, where %WTLDIR% is the directory where WTL files are.

머.. 정 안되면 작업중인 WTL8.1을 다운로드 받아서 해보는 수 밖에 -ㅁ-?
[링크 : http://wtl.svn.sourceforge.net/viewvc/wtl/trunk/wtl/Wizards/AppWiz.tar.gz?view=tar]
    [링크 : http://stackoverflow.com/questions/2260351/how-can-i-install-wtl-8-0-project-wizards-in-vs-2010]

아래는 WTL 설치파일 중 readme.html 파일의 내용중 WTL8.0 파일 목록이다.

Packing List

 

File Name: Description:

readme.htm this file
Ms-PL.txt license
 
include\
    atlapp.h message loop, interfaces, general app stuff
    atlcrack.h message cracker macros
    atlctrls.h standard and common control classes
    atlctrlw.h command bar class
    atlctrlx.h bitmap button, check list view, and other controls
    atlddx.h data exchange for dialogs and windows
    atldlgs.h common dialog classes, property sheet and page classes
    atlfind.h Find/Replace support for Edit and RichEdit
    atlframe.h frame window classes, MDI, update UI classes
    atlgdi.h DC classes, GDI object classes
    atlmisc.h WTL ports of CPoint, CRect, CSize, CString, etc.
    atlprint.h printing and print preview
    atlres.h standard resource IDs
    atlresce.h standard resource IDs for Windows CE
    atlscrl.h scrollable windows
    atlsplit.h splitter windows
    atltheme.h Windows XP theme classes
    atluser.h menu class, USER object classes
    atlwince.h specific support for Windows CE Mobile platforms
    atlwinx.h extensions of ATL windowing support
 
Samples\
    Aero\... Vista Aero glass showcase
    Alpha\... Windows XP 32-bit (alpha) toolbar images
    BmpView\... bitmap file view sample
    GuidGen\... WTL version of the GuidGen sample
    ImageView\... Full-featured PPC frame-view application
    MDIDocVw\... WTL version of the MDI sample
    MiniPie\... port of the SDK sample for Mobile devices
    MTPad\... multithreaded notepad sample
    SPControls\... Barebone SmartPhone dialog application
    TabBrowser\... Web browser using TabView
    Wizard97Test\... Wizard97 showcase sample
    WTLExplorer\... Explorer-like application sample
 
AppWiz\
    setup70.js AppWizard setup program for VC++ .NET 2002
    setup71.js AppWizard setup program for VC++ .NET 2003
    setup80.js AppWizard setup program for VC++ 2005
    setup80x.js AppWizard setup program for VC++ 2005 Express
    Files\... WTL AppWizard for VC++ .NET 2002 and 2003 files
 
AppWizCE\
    setup80.js AppWizard setup program for VC++ 2005
    Files\... WTL AppWizard for VC++ 2005 files
 
AppWizMobile\
    setup80.js AppWizard Mobile setup program for VC++ 2005
    Files\... WTL AppWizard Mobile for VC++ 2005 files

[링크 : http://www.devpia.com/MAEUL/Contents/Detail.aspx?BoardID=50&MAEULNo=20&no=503474&ref=503474]
[링크 : http://winapi.co.kr/project/library/wtl/1-1.htm]
[링크 : http://www.microsoft.com/downloads/...E5BA5BA4-6E6B-462A-B24C-61115E846F0C] WTL 8.0
Posted by 구차니