LIB FILE

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Dave

    #1

    LIB FILE

    Hi,
    I am writing a C# application that need to use an old c++ code in lib files
    from vc++ 6 can i do that?
    Can i import lib file to C# app and how?
    Can you give me some examples code how to do that?

    Thanks


  • Mattias Sjögren

    #2
    Re: LIB FILE

    [color=blue]
    >Can i import lib file to C# app and how?[/color]

    Not directly, but you can link the LIB file into a DLL, export the
    functionality you want and call that from C#.



    Mattias

    --
    Mattias Sjögren [MVP] mattias @ mvps.org
    http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
    Please reply only to the newsgroup.

    Comment

    • Mattias Sjögren

      #3
      Re: LIB FILE

      [color=blue]
      >Can i import lib file to C# app and how?[/color]

      Not directly, but you can link the LIB file into a DLL, export the
      functionality you want and call that from C#.



      Mattias

      --
      Mattias Sjögren [MVP] mattias @ mvps.org
      http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
      Please reply only to the newsgroup.

      Comment

      Working...