I am calling a function in a third party dll from a VB.NET application
(see below), and would like to unload the dll after using it. How would
I do that, from the code?
Public Declare Function SomeFunction Lib "ThirdParty.dll" _
(ByRef i As Integer) As Boolean
..
..
..
Dim i As Integer
Dim b As Boolean = SomeFunction(i)
'Unload the dll now, without restarting the application?
Mike O'Connor