Search found 563 matches

by Galeon
Apr 27, 2011 23:27
Forum: Linux
Topic: Installing FreeBASIC in Linux HOWTO
Replies: 27
Views: 12997

Had you tried this:

Code: Select all

ln -s /usr/lib/libbfd.so /usr/lib/libbfd-2.18.0.20080103.so


Please include the operating system you are using, including the version and architecture.
by Galeon
Apr 25, 2011 3:13
Forum: Community Discussion
Topic: what kind of 'pc' is everyone using ?
Replies: 96
Views: 13297

Intel Pentium D CPU 2.80GHz
Lenovo ThinkCentre 9279-A73
2.0GB DDR2-667 RAM
Intel Corporation 82946GZ/GL Integrated Graphics Controller
Seagate 500GB HDD
Ubuntu 10.10 Karmic Koala 32-bit
(I have Windows XP, Vista, 7 and, some Linux and BSD distributions in VirtualBox)
by Galeon
Apr 15, 2011 15:52
Forum: Community Discussion
Topic: Ok syntax is wrong
Replies: 52
Views: 5792

Re: At least I am trying to be positive

There is no QT support for FB yet because of OO. There are many procedural wrappers for QT. E.g. http://users.telenet.be/Jan.Van.hijfte/qtforfpc/fpcqt4.html You know, we're at the site with the horse here! How can we use this in FB? There is a member of this forum working on wrappers for Qt for Fre...
by Galeon
Apr 15, 2011 1:18
Forum: Libraries
Topic: Hopefully (simple) Sqlite question
Replies: 18
Views: 3736

Re: Sqlite questions

When you use the DIM dfTemp AS ZSTRING PTR, can that still be used as a float (that's what the df is for)? If you notice, I have DIMed 2 variables, one dfTemp for doubles and stTemp for strings. You need to use functions for casting: http://www.freebasic.net/wiki/wikka.php?wakka=CatPgCasting Here i...
by Galeon
Apr 13, 2011 22:41
Forum: Libraries
Topic: Hopefully (simple) Sqlite question
Replies: 18
Views: 3736

Re: Slite questions

OK, I think I've answered my own question. Here's what I ended up using: DIM dfTemp AS DOUBLE PTR DIM stTemp AS STRING PTR dfTemp = IUPGetAttribute(baseline_elev_txt, @"VALUE") BL.dfElev = *dfTemp I think this is better: Dim dfTemp As ZString Ptr = IUPGetAttribute(baseline_elev_txt, "VALUE...
by Galeon
Apr 12, 2011 13:30
Forum: Community Discussion
Topic: Ok syntax is wrong
Replies: 52
Views: 5792

If you need a solution, where all GTK+ objects are FreeBASIC classes, I'm not sure if that will ever happen, since FreeBASIC is quite C-like and many users of GTK+ that uses FreeBASIC are currently contented and it needs a lot of work (or atleast me and TJF :) ). It'll need a proposal with a very h...
by Galeon
Apr 12, 2011 12:43
Forum: Libraries
Topic: Hopefully (simple) Sqlite question
Replies: 18
Views: 3736

Re: Sqlite questions

So in general your program should 1) open an SQL database 2) execute the "CREATE TABLE IF NOT EXIST ..." statement (with sqlite3_exec() ) 3) start the main loop 4) execute different SQL statements as needed (and receive answers -- or not) 5) stop the main loop 6) close the database You don't really...
by Galeon
Apr 12, 2011 12:00
Forum: Community Discussion
Topic: Ok syntax is wrong
Replies: 52
Views: 5792

... until GObject is working properly in FreeBASIC headers. GObject is working well in GTK-2.22.0_TJF.bi (included in GTK+Tobac2.2.4 ). Wow, now I could port my projects to FreeBASIC! [edit: I checked it out, and noticed that its unfinished. G_DEFINE_TYPE* #define's are still in C!] @ike: I also do...
by Galeon
Apr 10, 2011 1:08
Forum: Community Discussion
Topic: Don't forget to backup regularly
Replies: 36
Views: 5580

It happened to me a lot of times before. That's why I stopped most of my projects here in FreeBASIC: I lost the source code! Windows Disk Manager is the cause of it, it seems that when it sees a Linux partition, it will sometimes delete it and may cause other problems, so if you use Linux and dual-b...
by Galeon
Apr 10, 2011 0:51
Forum: Libraries
Topic: What would you recommend?
Replies: 20
Views: 4602

My e-mail address is galeon at ymail dot com.
by Galeon
Apr 09, 2011 17:27
Forum: Libraries
Topic: Hopefully (simple) Sqlite question
Replies: 18
Views: 3736

I prefer sqlite3_prepare_v2 since it gives more "freedom" to how you manipulate the data, and you don't need to create a callback (which may complicate things, depending on how he wants to use it). The sqlite3_exec() interface is a convenience wrapper around [sqlite3_prepare_v2()], [sqlite3_step()]...
by Galeon
Apr 09, 2011 9:59
Forum: Community Discussion
Topic: Ok syntax is wrong
Replies: 52
Views: 5792

Then someone could modify open-source RapidQ forms designer (HERE: http://rapidq.phatcode.net/FreeQ/ to emit freebasic-code and we got what we all dreamed of! Stop dreaming -- this is done since month! month? But instead of RapidQ forms designer the designer is named Glade3 . It doesn't emit code (...
by Galeon
Apr 09, 2011 9:51
Forum: Libraries
Topic: Hopefully (simple) Sqlite question
Replies: 18
Views: 3736

Is this an SQL command?!?!?! Not a command but a statement: http://www.sqlite.org/lang_createtable.html Ah... another SQLite extension... BTW, has anyone else looked at the created database file? I loaded it up in my text editor and, man, is it WEIRD! I guess I'm just used to .DBF files. SQL adds a...
by Galeon
Apr 09, 2011 0:49
Forum: Libraries
Topic: Hopefully (simple) Sqlite question
Replies: 18
Views: 3736

To process SQL commands, like "CREATE TABLE", "INSERT INTO", etc., use sqlite3_prepare_v2. To get results, if any, and to check if it failed, use sqlite3_step. There are also some info from the SQLite website, but they are mainly for C programmers, so no FreeBASIC examples there: http://www.sqlite.o...
by Galeon
Apr 09, 2011 0:42
Forum: Libraries
Topic: Hopefully (simple) Sqlite question
Replies: 18
Views: 3736

Re: Hopefully (simple) Sqlite question

TJF wrote:CREATE TABLE IF NOT EXISTS pt_x1xx( ...


Is this an SQL command?!?!?!

Go to advanced search