Newbie: Where has LoadLibrary gone?

  • Thread starter Thread starter Craig Dunstan
  • Start date Start date
C

Craig Dunstan

I am using C# to write a web service, which relies on some underlying
functionality in a third party DLL. I have been reliably informed that I
should not use static binding to the DLL as this will be unstble in a
multi-threaded environment, however I cannot seem to find the replacement
for LoadLibrary and GetProcAddress to access the DLL dynamically.

Can anyone give me a hint as to how this should be done for an ASP.Net
solution in C# or VisualBasic?

Thanks in advance
Craig
 
check out .net reflection, this is a super cool feature of .net for super late dynamic binding.
 
Back
Top