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)
 

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