RE: System.Array of COM objects cannot be released?
From: Ying-Shen Yu[MSFT] (v-yiy_at_online.microsoft.com)
Date: 07/23/04
- Next message: Nick Hall: "Re: .NET and COM Interop"
- Previous message: Chirag Dave: "Re: VB 6.0 Err object as parameter in C# function"
- In reply to: Frank Jones: "System.Array of COM objects cannot be released?"
- Next in thread: Frank Jones: "RE: System.Array of COM objects cannot be released?"
- Reply: Frank Jones: "RE: System.Array of COM objects cannot be released?"
- Reply: Frank Jones: "RE: System.Array of COM objects cannot be released?"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 23 Jul 2004 08:13:45 GMT
Hi Frank,
The code snippet looks fine, to my understanding calling ReleaseComObject
until = 0 will release all the reference to the RCW wrapper object and call
IUnknown::Release on the COM Interface. Does this unit test get passed if
written in C++ or VB6?
If so, I'd like to know more detail about the COM component to further
investigate this issue. Could you post how you get the array of COM Objects
back ? I'd also like to have a look at the IDL definition of that method
that returns an array of COM objects. If there is any other code related
in this test, please let me know.
Thanks!
Best regards,
Ying-Shen Yu [MSFT]
Microsoft Community Support
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties and confers no rights.
This mail should not be replied directly, please remove the word "online"
before sending mail.
- Next message: Nick Hall: "Re: .NET and COM Interop"
- Previous message: Chirag Dave: "Re: VB 6.0 Err object as parameter in C# function"
- In reply to: Frank Jones: "System.Array of COM objects cannot be released?"
- Next in thread: Frank Jones: "RE: System.Array of COM objects cannot be released?"
- Reply: Frank Jones: "RE: System.Array of COM objects cannot be released?"
- Reply: Frank Jones: "RE: System.Array of COM objects cannot be released?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|