Registry keys are missing from the COM base component (811189)
The information in this article applies to:
- Microsoft Windows XP Embedded
SYMPTOMSWhen you run a Microsoft Visual Basic client in a Windows XP Embedded image, the Err.Description property might have a value of METHOD "~" OF OBJECT "~" FAILED.
This occurs after an unsuccessful call to an out-of-process Component Object Model (COM) server that supports extended error information.CAUSEThis problem occurs because the COM Base component is missing some registry entries for the proxy/stub class of the ISupportErrorInfo interface.RESOLUTIONTo resolve this problem, insert the following registry keys in your configuration: [HKEY_CLASSES_ROOT\CLSID\{DF0B3D60-548F-101B-8E65-08002B2BD119}]
@="PSSupportErrorInfo"
[HKEY_CLASSES_ROOT\CLSID\{DF0B3D60-548F-101B-8E65-08002B2BD119}\InprocServer]
@="ole2disp.dll"
[HKEY_CLASSES_ROOT\CLSID\{DF0B3D60-548F-101B-8E65-08002B2BD119}\InprocServer32]
@="oleaut32.dll"
One approach is to add extra registry resources to your configuration in Target Designer. Another approach is to use Component Designer to create a helper component that contains these registry entries, import this helper component into the component database, and then use this helper component in your configurations. STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
MORE INFORMATIONThe COM Base component contains basic resources for the Component Object Model (COM). The COM is a software architecture that allows platform-independent and programming language-independent components to interact.
For more information about the insertion of extra resources into an existing configuration in Target Designer, see the "Target Designer Guide" for the topic "Adding Registry Data to a Configuration". REFERENCES
The
"Windows Embedded Studio" help that is included with the Windows XP Embedded Tools Setup includes the "Target Designer Guide" and the "Component Designer Guide". For more information about how to create a custom component and how to insert registry data, see the "Component Designer Guide" for the following topics: - "Defining an Object"
- "Adding an Object"
- "Adding Registry Data"
Modification Type: | Minor | Last Reviewed: | 6/24/2004 |
---|
Keywords: | kbBug kbprb KB811189 kbAudDeveloper kbAudOEM |
---|
|