A
Alpha83
Using .NET 2.0 / winforms. Some of our .NET classes, call some
unmanaged windows dll's. See some samples below -
<<
System.Runtime.InteropServices.DllImport("gdi32.dll"),
System.Runtime.InteropServices.DllImportAttribute("user32.dll").
Once these classes are instantiated and done being used, does the
garbage collector successfully gc them or will there be a problem in
some of these classes that use these non .NET dlls'. If so, how do we
garbage collect them.
Thanks.
unmanaged windows dll's. See some samples below -
<<
System.Runtime.InteropServices.DllImport("gdi32.dll"),
System.Runtime.InteropServices.DllImportAttribute("user32.dll").
Once these classes are instantiated and done being used, does the
garbage collector successfully gc them or will there be a problem in
some of these classes that use these non .NET dlls'. If so, how do we
garbage collect them.
Thanks.