Environment: VC6, NT4/Win9X
ATL object wizard is just not restricted for ATL COM appwizards. It can be used in any application
provided the project meets certain requirements. You can use this appwizard to create ordinary(non – COM) Win32 application
utilizing the ATL window classes or develop console OLEDB consumer applications.
Basically, to use ATL Object wizard in a project following criteria must be met :-
Project must have an idl file with atleast the following block:
library projectname { }
The project.cpp file should have the following piece of code
BEGIN_OBJECT_MAP(ObjectMap) END_OBJECT_MAP()
The appwizard presnted in this article generates a project that meets these criteria. You can use it
to generate console application as well as windows application.
To use it you just need to copy the file atlconwz.awx to [visual studio directory]\Common\MSDev98\Template