FIX: MSMQ: GetStreamedObject and GetStoredObject Return Error with VT_UNKNOWN

ID: Q241755


The information in this article applies to:
  • Microsoft Message Queue Server version 1.0


SYMPTOMS

Sending components that result in calls to either GetStreamedObject or GetStoredObject receive errors with incorrect HRESULT values.


CAUSE

MSMQ passes VT_UNKNOWN in the variant's type tag after a call to query interface. This is valid. The HRESULT should have been reset prior to returning, but it was not. This resulted in errors due to the HRESULT being set incorrectly.


RESOLUTION

To resolve this problem, obtain the latest service pack for Windows NT 4.0. For additional information, please see the following article in the Microsoft Knowledge Base:

Q152734 How to Obtain the Latest Windows NT 4.0 Service Pack
Passing VT_UNKNOWN is by design and the code was corrected to reset the HRESULT to NOERROR.


STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.

This problem was first corrected in Windows NT 4.0 Service Pack 6.

Additional query words: msmq hresult variant

Keywords : kbMSMQ kbMSMQ100 kbMSMQ100bug kbMSMQ100fix NT4SP6Fix
Version : winnt:1.0
Platform : winnt
Issue type : kbbug


Last Reviewed: October 28, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.