|
-
May 16th, 2008, 01:28 PM
#1
Thread Starter
New Member
How to release COM objects?
Hi!
I'm involved in a project where a lot of COM objects (VB6 and C++ mostly) are collaborating togehter in a .NET application. I have not really much knowledge in VB so I hope you can answer in a simple way
One VB6 control is creating an instance of a C++ object that is communicating with a database.
Anyways, the problem is that when I close the entire application a get a memory error originating in the C++ object. The C++ object's destructor doesn't run even tough i set i to Nothing in the VB6 code...
Is there anyone out there that can point me in the right direction? What am I missing? I would like to avoid creating new functions if possible.
I hope you understand my problem, if not plz ask and I will try to clarify.
Greetings DeeNoo
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|