Closed Thread
Results 1 to 3 of 3

Thread: How to build dll from .lib and .h files?

  1. #1
    jjplaw is offline Newbie
    Join Date
    Jun 2009
    Posts
    8
    Rep Power
    0

    Question How to build dll from .lib and .h files?

    I have a protocol package that includes a list of .lib and its .h files that i wish to convert to dll to be used in a C++ environment. The .lib and .h files are were developed in C.

    How do i go about it? I'm using VS 2005.
    Please advise.

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    Join Date
    Jul 2006
    Posts
    16,491
    Blog Entries
    75
    Rep Power
    143

    Re: How to build dll from .lib and .h files?

    Assuming the .lib was compiled for VS 2005, you should be able to use it as-is for static linking. C libraries can be used with C++. If you really want to make a .dll, you will probably have to look at your compiler's documentation.
    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

  4. #3
    jjplaw is offline Newbie
    Join Date
    Jun 2009
    Posts
    8
    Rep Power
    0

    Re: How to build dll from .lib and .h files?

    yup... I'm able to use it as static linking... but i need to convert the whole package into a dll...

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [Code::Block]How to build project with many files
    By kimchinh_no1 in forum C and C++
    Replies: 2
    Last Post: 09-30-2011, 01:43 AM
  2. Build an aplication for searching and analise files on URLs.
    By BlitzMX in forum General Programming
    Replies: 2
    Last Post: 08-19-2010, 12:06 AM
  3. Differences between text files and binary files.
    By LoneWolf in forum C and C++
    Replies: 3
    Last Post: 02-24-2009, 04:36 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts