How to make a library file

Discuss whatever you want here--both QB and non-QB related. Anything from the DEF INT command to the meaning of life!

Moderators: Pete, Mods

Post Reply
TRANERAECK
Coder
Posts: 29
Joined: Thu Mar 24, 2011 3:08 am

How to make a library file

Post by TRANERAECK »

How to make a library file is not so easy.
1st: compile file with bc.exe
2nd: run LINK
at OBJECT /QU plus object file minus extension
at run should say qlb full path with qlb extension
nul press enter
at library full path with BQLB45.LIB
3rd: run LIB
Library name full path with filename.LIB
CREATE Y
operations use +filename no extension
list file press enter
This will give you the QLB library file. Make sure your .BAS file only has SUBS and FUNCTIONS maybe a variable initializer maybe type end type.
USE .BI for your INCLUDE and DECLARE your SUB or FUNCTION in LIBRARY QLB with the same parameters. :twisted:
Post Reply