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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top