An Appwizard to Generate Non-COM Projects that can use ATL Object Wizard

Sample Image

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 :-

  1. Project must have an idl file with atleast the following block:

    
    library projectname
    {
    }
    
  2. 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

Downloads

Download the Appwizard- 12 Kb


Comments

  • There are no comments yet. Be the first to comment!

Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • In this on-demand webcast, Oracle ACE and Toad Product Architect Bert Scalzo discusses 10 powerful and hidden features in Toad® that help increase your productivity and DB performance. Watch this webcast today.

  • Live Event Date: August 20, 2014 @ 1:00 p.m. ET / 10:00 a.m. PT When you look at natural user interfaces as a developer, it isn't just fun and games. There are some very serious, real-world usage models of how things can help make the world a better place – things like Intel® RealSense™ technology. Check out this upcoming eSeminar and join the panel of experts, both from inside and outside of Intel, as they discuss how natural user interfaces will likely be getting adopted in a wide variety …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds