Reference Functions From A DLL

  • Thread starter Thread starter DevBoy
  • Start date Start date
D

DevBoy

Can I reference a DLL in a Web App by using project and reference options
within the VS.Net IDE?

Then I should just have to move the dll into /bin of the web project?
 
What kind of DLL? Is it a standard .Net assembly or a Win32 DLL? If the
latter, you will need some DLL import attributes to determine what function
you want to import and use from that DLL. Also, if you will be using
P/Invoke, you will require that the security policy of the application allow
this (ie. allow interop).

(Through Administrative Tools --> .Net framework Configuration --> RunTime
security policy --> machine)
 
Back
Top