FIX: Access Violation When COM+ Object Passes a Struct That Is Defined as an [out] Parameter

Article translations Article translations
Article ID: 290425 - View products that this article applies to.
This article was previously published under Q290425
This article has been archived. It is offered "as is" and will no longer be updated.
Expand all | Collapse all


Suppose that a COM+ library application hosts a Component Object Model (COM) component that implements an interface (for example, ITest) with a method that has struct parameter of type [out]. If another COM+ application, which also hosts a COM component, obtains ITest through the CoCreateInstance function and passes a struct parameter to call the method, you receive an exception c0000005 (Access Violation) in the Oleaut32.dll file.


This problem occurs because of a problem in OLE automation module.


To resolve this problem, obtain the latest service pack for Windows 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
260910 How to Obtain the Latest Windows 2000 Service Pack


Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Windows 2000 Service Pack 2.


Article ID: 290425 - Last Review: October 26, 2013 - Revision: 2.0
Applies to
  • Microsoft COM+ 1.0
kbnosurvey kbarchive kbbug kbdcom kbDSupport kbwin2000presp2fix kbWin2000SP2Fix KB290425

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from