How to call API functions from .lib file!

W

Webdiyer

Hi,all,I want to call some API functions that inside a .lib file?
DllImportAttribute can only load the dll files,are there any way that I
could load a .lib file and call functions inside that file from within my
asp.net application?I'm using C#.Thanks in advance!
 
M

Mattias Sjögren

Hi,all,I want to call some API functions that inside a .lib file?
DllImportAttribute can only load the dll files,are there any way that I
could load a .lib file and call functions inside that file from within my
asp.net application?I'm using C#.Thanks in advance!

You have to link the LIB file into a DLL.



Mattias
 

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

Top