PRB: ATL COM Object Fails to Register (297323)
The information in this article applies to:
- Microsoft Windows CE Platform Builder 3.0
This article was previously published under Q297323 SYMPTOMS
A COM server based on Active Template Library (ATL) fails to register on Windows CE. The _Module.UpdateRegistryFromResource function may return the error code 0x80040154 (REGDB_E_CLASSNOTREG).
CAUSE
ATLCE300.dll has not been registered. By default, Windows CE platforms that include the ATL runtime support do not have ATLCE300.dll registered.
RESOLUTION
There are two ways to register ATLCE300.dll:
- Use the Regsvrce.exe utility to register ATLCE300.dll.
- Include the registry entries that expose the ATL.Registrar object, which is served by ATLCE300.dll, in your Platform.reg file.
REFERENCES
For more information on UpdateRegistryFromResource, see the API Reference for the function in eMbedded Visual Tools 3.0 Help.
Modification Type: | Minor | Last Reviewed: | 8/18/2005 |
---|
Keywords: | kbprb KB297323 |
---|
|