Microsoft KB Archive/183248

= BUG: CDO (1.x) in C/C++ RawTable->Release Hangs at Logoff =

Article ID: 183248

Article Last Modified on 6/6/2005

-

APPLIES TO


 * Microsoft Collaboration Data Objects 1.1
 * Microsoft Collaboration Data Objects 1.2
 * Microsoft Collaboration Data Objects 1.21

-



This article was previously published under Q183248



SYMPTOMS
Calling RawTable->Release after Logging off the Collaboration Data Objects (CDO 1.1, 1.2, 1.21) session causes the application to hang.



CAUSE
There is an invalid assumption in the destructor process. Release is called on the data member for the RawTable without verifying that it is not NULL.



RESOLUTION
Release the RawTable before calling Logoff.



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



Steps to Reproduce Behavior
 Logon using the IDispatch Session Object. Access the AddressList object via Session for Personal AddressBook. Access the AddressEntries Collection via the AddressList AddressEntries property. Access the RawTable of the AddressEntries object. Logoff from the Session.</li>  Call the following: RawTable->Release; CDO (1.1, 1.2, 1.21) crashes at this point. </li></ol>

Similar behavior may also occur in Microsoft Visual Basic when using the CDO (1.1, 1.2, 1.21) Rendering Library (Cdohtml.dll) if the application logs off and then attempts to release its rendering objects.

The resolution in Visual Basic is basically the same as above, release the objects that use the RawTable (Rendering), then Logoff.

Keywords: kbbug kbnofix kbmsg KB183248

-

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

© Microsoft Corporation. All rights reserved.