Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problem with libraries

Status
Not open for further replies.

qbasicking

Programmer
Aug 19, 2001
628
US
I can't figure out why Future Library doesn't run

this is the command line I use to run QBasic
C:\Qb\QB.EXE /AH /L c:\card3\future

This is the program:

REM $INCLUDE: 'C:\CARD3\FUTURE.BI'
IF IsVESA = -1 THEN
Set800x600 15
ELSE
PRINT "VESA not supported": SLEEP 1: END
END IF
IF Pages < 12 THEN
PRINT &quot;Not enough video memory to run Cardinal III&quot;: SLEEP 1: END
END IF


It doesn't recognize any of the functions or subs from future library, what is wrong with it?
 
Try removeing the space...
C:\Qb\QB.EXE /AH /L c:\card3\future

change to:

C:\Qb\QB.EXE /AH /Lc:\card3\future.qlb

or

\Qb\QB.EXE /AH /L\card3\future.qlb

and secondly... You ARE SURE the paths are right and spelled correctly... sometime the simplest little details can be overlooked...

I would personally put the LIB, QLB,& BI files ALL in the same Directory with QB.exe (C:\QB\)
then make a batch file...
---------
CD\QB
QB /ah /Lfuture
---------
That always works for me...

cheers-
cheers.gif

-Josh
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top