How to wrap vc lib file into dll file

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • saima123456
    New Member
    • Oct 2011
    • 1

    How to wrap vc lib file into dll file

    Hi all

    I've a lib file which is created in c. I don't have the code of lib file I just know the functions of that lib file. I want to use that lib file in my C# code for this I have to wrap the lib file into a dll of c. Can you tell me how to wrap the lib file in a dll file.

    If any one know how to use c lib file in C# then please tell me.


    Kind Regards
    Saima
    Last edited by Banfa; Oct 13 '11, 03:16 PM. Reason: Correct language
  • Banfa
    Recognized Expert Expert
    • Feb 2006
    • 9067

    #2
    Just create a DLL, for every function in your static library create a function in your DLL with the same signature but a different name. Compile the DLL linking in the static library

    Comment

    Working...