Microsoft KB Archive/290611

= FIX: COM+ User Event Data Is Posted as SAFEARRAYs Fail =

Article ID: 290611

Article Last Modified on 5/8/2002

-

APPLIES TO


 * Microsoft COM+ 1.0

-



This article was previously published under Q290611



SYMPTOMS
When you use the COM+ user event mechanism, posting user events as SAFEARRAY does not work.



CAUSE
This problem occurs because the CComVariant::WriteToStream and CComVariant::ReadFromStream methods are used to marshal the variant. The CComVariant class does not handle variants of type VT_ARRAY. Because CComVariant::WriteToStream and CComVariant::ReadFromStream are used to marshal the variant, variants need special packaging for encoding and decoding.



RESOLUTION
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



STATUS
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.

Keywords: kbbug kbfix kbwin2000presp2fix KB290611

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.