FIX: COM+ User Event Data Is Posted as SAFEARRAYs Fail (290611)



The information in this article 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.

Modification Type:MajorLast Reviewed:5/8/2002
Keywords:kbbug kbDSupport kbWin2000PreSP2Fix kbWin2000SP2Fix KB290611