Thread: Making Static Library Files

  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
    What is C++?

  3. #3
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,981
    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, 05:42 PM
  4. Static variables and header files
    By drrngrvy in forum C++ Programming
    Replies: 8
    Last Post: 12-02-2006, 01:27 PM
  5. Replies: 0
    Last Post: 01-07-2002, 05:08 PM