Category : BASIC Source Code
Archive   : QBFAQR01.ZIP
Filename : MAKEQLB.DOC

 
Output of file : MAKEQLB.DOC contained in archive : QBFAQR01.ZIP
Date: 01-07-92 (17:21)
From: CHRISTY GEMMELL
Subj: MAKING A LIBRARY
--------------------------------------------------------------------------
LJ>I want to put two (or more) libraries in one library so that I can use
>procedures from each one. I do not have the original .obj files for the
>libraries. I have both the .qlb and .lib forms. Or is ther a better way
>than trying to combine libraries? Any suggestions will be greatly
>appreciated.

Combining libraries is easy, you don't need the original .obj
files to do it as long as you've the .LIB files. Here's how:

1) Stand alone libraries

LIB new.lib, +old1.lib +old2.lib...., newlib.cat;

NEWLIB.CAT is an optional textfile listing all the modules and
routines in NEW.LIB, the combined library you are creating.

2) Quick Libraries

LINK /QU old1.lib old2.lib..., new.qlb,, bqlb45.lib;

Notice that the component libraries must be .LIB files although
the combined library is a .QLB file. You can't link together two
or more Quick Libraries with LINK.EXE.

BQLB45.LIB is a support library supplied with QuickBASIC. If you
have the PDS then you should use QBXQLB.LIB instead.

Hope this does the trick.


  3 Responses to “Category : BASIC Source Code
Archive   : QBFAQR01.ZIP
Filename : MAKEQLB.DOC

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/