Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
lib question...
#1
When you load a library in QB, do only the declared routines get included in the used string space, or does the entire library that's been? What I mean is, is it better to combine only the object files that you use, or it doesn't matter since you won't be declaring all the functions and routines anyways? Thanks
Reply
#2
LIBs have nothing to do with String space. STRINGS have. I mean, your STRING space will get full if your routines use many strings.

About your question, I think that the LINKer is smart enough to link to your EXE just the OBJs that are used in a LIB. But I may be wrong.

Something way different is QLBs. The bigger they are, the more chances exist that you are not able to run the IDE.
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply
#3
Hmmm, so good programming habits would be to take only the obj files that you are using and making a new qlb out of it. That's what I've been doing, but I just want to see if it made a difference. Thanks
Reply
#4
Quote:Something way different is QLBs. The bigger they are, the more chances exist that you are not able to run the IDE.
I think (always thought) that the QLBs get loaded into QB IDE's memory, either only the definitions or the whole lib (I think the former though).
Reply
#5
QLBs are loaded completely. You are in the IDE, so QB has no idea about what FUNCTIONs or SUBs you are gonna use. Linking is different: LINK knows which FUNCTIONS/SUBs you have used.
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)