How to call API functions from .lib file!

  • Thread starter Thread starter Webdiyer
  • Start date Start date
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!
 
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
 
Back
Top