Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Making your own library?

Making your own library?

Making your own library?

I would like to make my own library without using asm. Just like a bunch of qbasic commands would be executed with one function. I don't want to use subs either. I've read radiohands tutorial on how to make your own library but that only explains how to do it in asm. Does the OBJ file that qbasic spits out when you compile a program have nething to do with it?

RE: Making your own library?

Libraries are precompiled Subs...

I don't think I understand what you mean by...

>>I don't want to use subs either

Thats all they are...

If you have a program, (with subs) ....

1) Open QuickBasic 4.5
2) Open your program
3) Click the Run menu
4) Click Make Library... (under Make EXE File)
5) Type the name of the library you want to make
6) click Make Library

And it will make a library of all the subs and functions in your program...

Then take the definition part of your program...
  Such as all the declares, const, dim, etc...
And place it in an include file (*.BI)

It's that easy

Have Fun, Be Young... Code BASIC


PROGRAMMER: (n) Red-eyed, mumbling mammal capable of conversing with inanimate objects.

RE: Making your own library?

Ohhhh......I never saw that function lol. Thx thats what i wanted to do. When i said i didn't want to use subs i meant i didn't want to use subs within a bas file, but from a qlb file. thx for helpin

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close