Qbasicnews.com

Full Version: How do I make my own library?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I made a qb prog that creates text with certian colors and what not, and I would like to know if it is possible to turn that into a library to use in other programs, and if so, how do I do it?
You could just make a file that has all your subroutines in it....and then '$INCLUDE it.
I used to make them into real libraries, but I forgot how...http://www.qbasicnews.com/tutorials.php?action=view&id=16 tell you how to do it with ASM.
Sounds like it's a qb code library, so you should just have to click Run->Make Library, enter the libs name, close qb, load qb with your lib (qb.exe /L libraryname) declare your sub routines (or use a .bi file) and your set.
ok, I did that, and it said that there were 900+ errors, but it finished. Then I tried loading the library but it didn't work.
Could you describe exactly what the error is, or at least post the relevant source code?
900+ errors? That usually only comes about with a code or data segment overflow. Either that or you're not putting all your code into SUBs or FUNCTIONs, but even that shouldn't produce 900+ errors unless you really messed up.