[Mono-list] Problem with Dispose() and unmanaged resources

Edd Dumbill edd@usefulinc.com
Tue, 04 Jan 2005 18:24:15 +0000


On Tue, 2005-01-04 at 19:12 +0100, Matthijs ter Woord (meddochat) wrote:
> Hi Edd,
> 
> Please check out the GC.SuppressFinalize function.

I was already using this as described in the MSDN documentation.

On IRC jonp helpfully pointed out that the missing piece may have been
that Mono generates a NullReferenceException if it gets a SIGILL, and
thus the problem was possibly within the C code itself.

He also pointed me to his page here:
http://www.jprl.com/~jon/interop.html

I've not completely solved the problem yet but I'm pursuing some of his
suggestions.

-- Edd