I am using a DLL that is being used in VB6 and the object is destroyed with oDPID = nothing I'm doing this in C# and I do get results expect ..
fun()
{
var oDPID = new DPID.Generator();
Call oDPID.DoThis();
}
If you run this code a number of times without destroying the object, I'll have memory problem How do I destroy the Object when I'm done with it?