Click here to Skip to main content
12,502,116 members (49,358 online)
Click here to Skip to main content
Add your own
alternative version


24 bookmarked

WTL Wizard for Visual Studio .NET

, 17 Feb 2002
Rate this:
Please Sign up or sign in to vote.
An App-Wizard which creates template WTL apps.

Sample image - WTL Wizard


This is a Visual Studio .NET wizard ready to generate WTL projects.

Installation procedure

To properly install this wizard you must follow these steps:

  1. The ZIP file contains two files and a folder. You must copy both files to Project folder for Visual C++ 7 inside .NET main installation folder ( [Root]:\[Program Files Folder]\VC7\VCProjects ). These are the two files:
    • WTL Wizard.vsz
    • WTL Wizard.ico

  2. The folder named "WTL Wizard" and all its content must be copied to ( [Root]:\[Program Files Folder]\VC7\VCWizards )

In order to get this wizard working in debug mode, a change must be made in WTL 3.1 header file atlapp.h. You must comment out the following line:

// atlapp.h
enum wtlTraceFlags
//    atlTraceUI = 0x10000000

The next time you create a new project in VC++, you'll see a new WTL Wizard

Note: We've set as default the "Detect 64-bit Portability Issues" option in the pre-processor.


This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


About the Author

No Biography provided

You may also be interested in...


Comments and Discussions

GeneralCan't download a valid archieve Pin 10:13 10:13 
Generalfailure on calling WTL Wizard in VS.NET 2003 Pin
alvin_tyl4-Aug-03 23:31
memberalvin_tyl4-Aug-03 23:31 
Questionhow to change the language of the resource.. Pin
Yu_Matrix6-Jul-03 23:50
memberYu_Matrix6-Jul-03 23:50 
QuestionHow about Visual Studio .Net 2003 Pin
jaguar8-Jun-03 17:24
memberjaguar8-Jun-03 17:24 
AnswerRe: How about Visual Studio .Net 2003 Pin
jaguar8-Jun-03 17:36
memberjaguar8-Jun-03 17:36 
GeneralRe: How about Visual Studio .Net 2003 Pin
jaguar8-Jun-03 17:39
memberjaguar8-Jun-03 17:39 
GeneralRe: How about Visual Studio .Net 2003 Pin
thelazydogsback25-Sep-03 6:22
memberthelazydogsback25-Sep-03 6:22 
GeneralRe: How about Visual Studio .Net 2003 Pin
nalenb26-Nov-03 13:10
membernalenb26-Nov-03 13:10 
GeneralCannot download source files Pin
Anonymous11-Apr-03 13:09
sussAnonymous11-Apr-03 13:09 
GeneralWTL and Visual Studio .NET Pin
Remon Spekreijse24-Mar-02 23:20
memberRemon Spekreijse24-Mar-02 23:20 

I like to port my current WTL apps to Visual Studio .NET but I've tried to build a standard WTL app with this Wizzard. I've included the paths to WTL and using WTL 3.1. The following warnings and errors occur if I try to make a standard WTL dialog app:

Compiler warnings:
atlapp.h line 400: conversion from 'LONG_PTR' to 'LONG', possible loss of data
atlapp.h line 433: conversion from 'LONG' to 'WTL::CAppModule *' of greater size.

Runtime error:
Assertion: Allocate.cpp, line 247: (iCategory < m_pProcess->CategoryCount()) || (iCategory == -1)

Can anyone tell me if it is just a compiler setting or is there an update of WTL for Visual Studio .NET?

Thanks in advance,


General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160919.1 | Last Updated 18 Feb 2002
Article Copyright 2002 by Armando Pajuelo
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid