M
Michaelov, Itzik
Hello,
I created very simple DLL in C#.
I changed the above DLL COMVisible attribute to true ([assembly:
ComVisible(true)])
So a TLB file created.
Now i am using this DLL functionality from VB6.
All works fine.
The problem is when i set object to nothing in VB6, the .NET object
Finalize(~) method doesn't executed.
In this case i can't release public COM members of my .NET Classes.
I can't explicitly call to .Dispose from VB6.
Do you have any idea how resolve this problem ?
Thanks
I created very simple DLL in C#.
I changed the above DLL COMVisible attribute to true ([assembly:
ComVisible(true)])
So a TLB file created.
Now i am using this DLL functionality from VB6.
All works fine.
The problem is when i set object to nothing in VB6, the .NET object
Finalize(~) method doesn't executed.
In this case i can't release public COM members of my .NET Classes.
I can't explicitly call to .Dispose from VB6.
Do you have any idea how resolve this problem ?
Thanks