comet::atl_module< TYPELIB, ATL_MODULE > Class Template Reference
[ATL conversion.]

#include <atl_module.h>


Detailed Description

template<typename TYPELIB = empty_typelib, typename ATL_MODULE = ATL::CComModule>
class comet::atl_module< TYPELIB, ATL_MODULE >

Wraps an ATL::CComModule to provide co-existing ATL/Comet co-classes. ATL will take responsibility for registering the embedded type-library.

Here is an example of how to use it:

     struct typelib_subset
     {
         typedef COMET_STRICT_TYPENAME comet::typelist::make_list< CoClass1, CoClass2 > coclasses;
     };
     comet::atl_module<typelib_subset> _Module;
And in std.h:
     struct typelib_subset;
     extern comet::atl_module<typelib_subset> _Module;


The documentation for this class was generated from the following file: