Results 1 to 5 of 5

Thread: Windows Static Libraries

  1. #1

    Thread Starter
    Lively Member ExciteMouse's Avatar
    Join Date
    Jul 2000
    Location
    Dallas, TX
    Posts
    78

    Question Windows Static Libraries

    anyone know how to create them? Like what does the format look like? Is it a class? or is it like a DLL where you just have exports.

    If anyone could write a simple one for me as an example, that would be excellent. Like a Static Lib that exports one symbol, just so i understand the format.

    thanks alot!

    mouse

  2. #2
    Frenzied Member Vlatko's Avatar
    Join Date
    Aug 2000
    Location
    Skopje, Macedonia
    Posts
    1,409
    To create one go to new project -> win32 static library. For an example have a look at the MSDN, it has a few.
    I am become death, the destroyer of worlds.
    mail:[email protected]

    • Visual Basic 6.0 & .NET
    • Visual C++ 6.0 & .NET
    • ASP
    • LISP
    • PROLOG
    • C
    • Pascal

  3. #3

    Thread Starter
    Lively Member ExciteMouse's Avatar
    Join Date
    Jul 2000
    Location
    Dallas, TX
    Posts
    78

    Thumbs up ok

    Ok i know that part... i'm pretty familar with the microsoft compiler. i dont have the MSDN cds and msdn.microsoft.com doesnt have anything.

    Was just wondering if anyone could write a super simple static lib that exports one symbol as an example so i know how the layout goes.

    thanks

  4. #4
    denniswrenn
    Guest
    Here is a workspace(MSVC++ v. 6.0) with two projects. One is a static library project, which contains a function called MsgBox() which just pops up a message box. The 2nd project is a Win32 Console application which has the lib file added to it, it calls on the function, and that's basically it.

    I didn't include the executable, because it made it too big.
    Attached Files Attached Files

  5. #5

    Thread Starter
    Lively Member ExciteMouse's Avatar
    Join Date
    Jul 2000
    Location
    Dallas, TX
    Posts
    78

    Cool thank you!

    Thank you for you help! i appreciate it!

Posting Permissions

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



Click Here to Expand Forum to Full Width