Libraries in FB
Libraries in FB
How can I include libraries in FreeBasic?
-
- Veteran
- Posts: 1055
- Joined: Sun Jan 02, 2005 2:11 pm
- Location: At my computer
- Contact:
Are you really Bill Gates? or some silly joker?
Anyway, you can't just use any lib in FB, ones used in QB won't work unless you find a ported version of them, and yep, Seb is right...
Or, you can do this:
More info at: http://www.freebasic.net/wiki/wikka.php?wakka=FBWiki
Sorry no direct link,.. I'm offline right now,.. and after I sign back in and post this, I'll need to reboot be4 I'll have any surfing power...
Anyway, you can't just use any lib in FB, ones used in QB won't work unless you find a ported version of them, and yep, Seb is right...
Code: Select all
'$include: 'path/name.bi'
Code: Select all
#include 'path/name.bi'
Sorry no direct link,.. I'm offline right now,.. and after I sign back in and post this, I'll need to reboot be4 I'll have any surfing power...
-Kevin (aka:Rattra)
(x.t.r.GRAPHICS)
(x.t.r.GRAPHICS)
QBASIC Questions & Answers
QBASIC Questions & Answers
QBASIC Questions & Answers
QBASIC Questions & Answers
QBASIC Questions & Answers
QBASIC Questions & Answers
QBASIC Questions & Answers
QBASIC Questions & Answers
- SebMcClouth
- Veteran
- Posts: 240
- Joined: Fri Apr 29, 2005 2:20 am
- Location: Inside the Matrix
But I just switched to PDS... and I don't even have FreeBasic... but since I've read that FreeBasic is (should) 100% compatible with QB... I figured hey... you should be able to load .bi files the same way.
grtz
Seb
grtz
Seb
I know why you're here. I know what you've been doing... why you hardly sleep, why you live alone, and why night after night, you sit by your computer...<br>
Unfortunately, no one can be told what Qbinux is. You have to see it for yourself.
Unfortunately, no one can be told what Qbinux is. You have to see it for yourself.
Seb: I was responding to the Guest's post directly above mine, not you!
Anyway, yes, you should check out FB. It's not 100% QB-compatible, but you can convert just about any QB program to FB without much of a hassle. Plus it's so refreshing to make programs that other people can actually run. The rest of the world uses Win32 PCs, and can't get complicated QB programs to run. I use WinXP, and I can't run most QB programs. Just about anything that loads an external library crashes and burns on XP or Win2000. It's extremely frustrating, and if I didn't have an obligation to try out QB programs for the magazine, I would just give up there.
Anyway, why would you pigeonhole yourself to a market of a couple hundred QB programmers with old DOS/Win95/98 machines, when you could create essentially the same program on a platform that 85-90% of the entire world can run?
Anyway, yes, you should check out FB. It's not 100% QB-compatible, but you can convert just about any QB program to FB without much of a hassle. Plus it's so refreshing to make programs that other people can actually run. The rest of the world uses Win32 PCs, and can't get complicated QB programs to run. I use WinXP, and I can't run most QB programs. Just about anything that loads an external library crashes and burns on XP or Win2000. It's extremely frustrating, and if I didn't have an obligation to try out QB programs for the magazine, I would just give up there.
Anyway, why would you pigeonhole yourself to a market of a couple hundred QB programmers with old DOS/Win95/98 machines, when you could create essentially the same program on a platform that 85-90% of the entire world can run?
-
- Veteran
- Posts: 1055
- Joined: Sun Jan 02, 2005 2:11 pm
- Location: At my computer
- Contact:
Yeah... FreeBASIC is the new wave,.. powerful, brillant, ect, ect....
You can find tons of cool examples here, just goto my downloads section:
http://members.aol.com/rattrapmax6/xtrgraphics.html
You can find tons of cool examples here, just goto my downloads section:
http://members.aol.com/rattrapmax6/xtrgraphics.html
-Kevin (aka:Rattra)
(x.t.r.GRAPHICS)
(x.t.r.GRAPHICS)
- SebMcClouth
- Veteran
- Posts: 240
- Joined: Fri Apr 29, 2005 2:20 am
- Location: Inside the Matrix
But my fake OS is a DOS program... . It's not suppose to work yet in Windows.... Someday it will!!!
Grtz
Seb
Grtz
Seb
I know why you're here. I know what you've been doing... why you hardly sleep, why you live alone, and why night after night, you sit by your computer...<br>
Unfortunately, no one can be told what Qbinux is. You have to see it for yourself.
Unfortunately, no one can be told what Qbinux is. You have to see it for yourself.
-
- Veteran
- Posts: 1055
- Joined: Sun Jan 02, 2005 2:11 pm
- Location: At my computer
- Contact: