Making Static Library Files

This is a discussion on Making Static Library Files within the C++ Programming forums, part of the General Programming Boards category; Dear useres, I want to know how can I make static libraries (lib files) in C/C++ and how can I ...

  1. #1
    Registered User
    Join Date
    Sep 2004
    Posts
    4

    Question Making Static Library Files

    Dear useres,

    I want to know how can I make static libraries (lib files) in C/C++ and how can I use them in my projects. I want to export some functions so should I use extern "C" statment for my functions and also any calling convention needed (such as __declspec)???

    Thanks,

  2. #2
    i dont know Vicious's Avatar
    Join Date
    May 2002
    Posts
    1,200
    pasting code form a .txt file...

    ALOT of DLL info there.
    What is C++?

  3. #3
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,669
    If you just want to make a library for static linking, that's a little easier.
    You'll have to tell us what compiler you are using.

    gg

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Help building/linking to static library
    By Kernel Sanders in forum C++ Programming
    Replies: 19
    Last Post: 08-17-2008, 04:35 PM
  2. including a static library!
    By hmd in forum C Programming
    Replies: 1
    Last Post: 04-06-2008, 03:41 PM
  3. get keyboard and mouse events
    By ratte in forum Linux Programming
    Replies: 10
    Last Post: 11-17-2007, 04:42 PM
  4. Static variables and header files
    By drrngrvy in forum C++ Programming
    Replies: 8
    Last Post: 12-02-2006, 12:27 PM
  5. Replies: 0
    Last Post: 01-07-2002, 04:08 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21