Stuart Hemming (via DFN-CIS NetNews Service)
2/26/2004 1:42:00 PM
On 25/02/2004, around 13:39, Stuart Hemming (via DFN-CIS NetNews Service) wrote:
SHvDCNS> Can someone tell me the whole of the spell needed to make my unwanted
SHvDCNS> objects go away please?
It turns out to be very simple ...
,----- [ ]
| // Add this to the list of namespaces in your .cs file
| using System.Runtime.InteropServices;
| ...
| // Once you've finished with your object
| Marshal.ReleaseComObject(myComObject);
`-----
--
Stuart
See headers for PGP Key.
I have seen the truth and it makes no sense.