Microsoft KB Archive/326213

= PRB: ComLib.release Only Decrements Reference Count by One =

Article ID: 326213

Article Last Modified on 8/7/2003

-

APPLIES TO


 * Microsoft Visual J# .NET 2003 Standard Edition
 * Microsoft Visual J# .NET 2003 Standard Edition

-



This article was previously published under Q326213



SYMPTOMS
After you call COMLib.release on a COM object, the object may still be available.



CAUSE
COMLib.release only decrements the reference count of the COM object by one.



STATUS
This behavior is by design.



MORE INFORMATION
This behavior is different from when you use the Java Virtual Machine. When you call ComLib.release in that scenario, all references are released.

Additional query words: comlib release vjsharp jsharp j#

Keywords: kbcomservices kbprb KB326213

-

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

© Microsoft Corporation. All rights reserved.