Qbasicnews.com

Full Version: How to load two libraries?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
So how to do it?

For example I run QB4.5, and I need the FFIX library, and the basic library. How can I do this? Help please.
You can join them together using the LIB.EXE program.

I thought it went something like this:
Code:
LIB MYLIB.LIB FFIX.LIB;
LIB MYLIB.LIB +QB.LIB;

and then make QuickLibraries of it:
Code:
LINK /Q MYLIB.LIB,MYLIB.QLB,NUL,BQLB45.LIB
I think this was it Smile
If you are working in the IDE, just load FFix as a TSR (ffix.com)before starting QB. This is an example of a bat file I use to load QBX (QB 7.1):
Code:
C:
cd C:\bc7\bin
set PATH=c:\bc7\bin;c:\bc7\binb;%PATH%
set LIB=c:\bc7\lib;%LIB%
set INCLUDE=c:\bc7\src;%INCLUDE%
set HELPFILES=c:\bc7\help;%HELPFILES%

..\tsr\ffix.com
QBX/L QBX.QLB
The important part is the last two lines.
Dav made a non-library replica of FFix that uses something rediculous like 8 lines to fix the bug. It's over at the code post, which is linked to from the main qbasicnews page.
So if I LIB them together, I will get a library what I can use for FFIX, and for mouse routines too Smile Excellent!
Cheetah,
I'm glad you found a solution you are happy with.

toonski,
Thanks for the info. I noticed that Plasma has a modification of it on the same site. It is a little longer, but it is supposed to be stable in the IDE.
One more thing about FFIX: I found that if I load it, QB4.5 won't crash as much (FFIX.COM before QB), but if I load without it, it crashes approx. after 10 to 30 minutes with taking the whole Windows with itself. So now I load FFIX.COM, and then make my programs with qb/l qbffix.lib (qb.lib+ffix.lib).
It's absolutely amazing how two people from completely different areas of the world can have the *exact* same post count!!!