O'Reilly logo

Windows® CE 3.0 Application Programming by Marshall Brain, Nick Grattan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using Automation Objects with MFC

The MFC class COleDispatchDriver makes calling Automation objects much easier. Further, the Class Wizard can be used to create classes from type library files that derive from COleDispatchDriver and provide C++ classes through which the Automation properties and methods can be called. The Automation parameter data types passed by the VARIANT structure are mapped onto standard C++ data types. You can use these classes even if your application does not otherwise use MFC.

Generating these wrapper classes is very convenient, although for large Automation models the wrapper classes may increase the size of your application substantially. For example, the POOM object model adds around 29 KB to the application and also ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required