Dela via


Unsupported Wizard Options for Application Settings, ATL Smart Device Project Wizard

This document describes the unsupported wizard options for smart devices on the Application Settings page of the ATL Smart Device Project Wizard.

Some of the elements on this wizard page are either not supported on devices, or behave differently in a device project.

Unsupported Options

The following table describes the elements that behave differently on device projects.

Section

Behavior

(None)

The Attributed check box is not supported on device projects.

ATL Smart Device Project Wizard Does Not Implement Type Library Unregistration

Because Windows Mobile does not implement the COM functionality to remove type libraries from the registry, the ATL Smart Device Project Wizard generates code that implements the DllUnregisterServer function differently:

// DllUnregisterServer - Removes entries from the system registry
STDAPI DllUnregisterServer(void)
{
    HRESULT hr = _AtlModule.DllUnregisterServer(false);
    return hr;
}

Passing false to the DllUnregisterServer function tells COM not to unregister the type library. If you change the parameter to true, all calls to DllUnregisterServer will fail with E_NOTIMPL.

See Also

Other Resources

Wizard Options in Native Device Projects