I don't know much about Doing COM in C++ but I think there is a way of knowing when a reference to your class is created and relesed, eg if you do this
you would be told that a reference to your class was created when the line Set y = x Runs and told that one has bee relesed when set x = nothing runsCode:Dim x as New myClass Dim y as MyClass Set y = x Set x = Nothing
it there a way of knowing this in VB?


Reply With Quote