Page 1 of 1

How to make a library file

Posted: Sat Apr 02, 2011 9:24 am
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: