|
Post by Michael Sync on Feb 1, 2006 21:35:31 GMT -5
Hi, How can I use Dispose in VB6? Is it the same thing happne if I set a object to "Nothing". (obj = Nothing). It would be great if you can add IDispose Interface in your VBCorLib. Your Library is great!
|
|
|
Post by Kelly Ethridge on Feb 2, 2006 15:27:27 GMT -5
Hello,
I had thought about including the IDisposable interface originally, but didn't. I couldn't come up with a good reason to. By that I mean, IDisposable was created to compensate for the lack of deterministic finalization in .NET. VB6 has that when the last reference is released from an object as the Class_Terminate event. If you can come up with a scenerio that would validate IDisposable with VB6, I would take a second look at including it in version 2.0.
|
|