How to activate the Insert new ATL object wizard in an not atl project.

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
    {
    }
    

The project.cpp file should have the following piece of code


BEGIN_OBJECT_MAP(ObjectMap)
END_OBJECT_MAP()


 
http://www.codeguru.com/Cpp/COM-Tech/atl/atl/article.php/c49/
 

posted on 2004-07-18 13:15  mike  阅读(159)  评论(0)    收藏  举报

导航