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

  • On-demand Event Event Date: December 18, 2014 The Internet of Things (IoT) incorporates physical devices into business processes using predictive analytics. While it relies heavily on existing Internet technologies, it differs by including physical devices, specialized protocols, physical analytics, and a unique partner network. To capture the real business value of IoT, the industry must move beyond customized projects to general patterns and platforms. Check out this webcast and join industry experts as …

  • On-Demand Webcast APIs can be a great source of competitive advantage. The practice of exposing backend services as APIs has become pervasive, however their use varies widely across companies and industries. Some companies leverage APIs to create internal, operational and development efficiencies, while others use them to drive ancillary revenue channels. Many companies successfully support both public and private programs from the same API by varying levels of access to different constituents. Nearly all …

Most Popular Programming Stories

More for Developers

RSS Feeds