Projects that you create with the WCE ATL COM AppWizard initially contain no Component Object Model (COM) components. After the project is created, you can use the Windows CE ATL Object Wizard to add components.
The components are derived from various template-based classes that provide default implementations of commonly used COM interfaces. The Windows CE ATL Object Wizard generates the necessary header file declarations, Microsoft Interface Definition Language (MIDL) definitions, and COM interface map entries for the components you add. You write the methods that implement the functionality that is specific to your components. You also can override the implementations of standard interface methods inherited from the ATL classes.
When you use the Windows CE ATL Object Wizard to create ActiveX controls, it registers them in the emulation registry. Therefore, you must install and run emulation before creating Windows CE ActiveX controls.