Clairvoyant1332
Programmer
I have an EXE (given to me from a vendor) that exposes some COM components which was written in VB6. I'm accessing this COM object in VB.NET. If I do the following in my VB.NET code:
I find that the vendor's COM EXE is still running, which I assume it shouldn't be, even after the object instance is set to nothing and the variable goes out of scope. However, if I use the vendor's test program, also written in VB6, the COM EXE exits after.
Is this a issue with .NET vs COM, or am I missing something?
Dennis
Code:
sub callobj()
dim myobj as vendor.comobject
myobj = new vendor.comobject
myobj.function_call()
myobj = nothing
end sub
Is this a issue with .NET vs COM, or am I missing something?
Dennis