Search found 993 matches

by St_W
Sep 22, 2017 15:35
Forum: Beginners
Topic: Compiling error "cannot find -..."
Replies: 6
Views: 103

Re: Compiling error "cannot find -..."

You can't mix 32-bit and 64-bit libraries. A 32-bit application can only use 32-bit libraries and a 64-bit application can only use 64-bit libraries. You can find a pre-compiled version of libz for 32/64 bit e.g. here: http://users.freebasic-portal.de/stw/files/prog/fb/libs/zlib-1211.zip It includes...
by St_W
Sep 20, 2017 10:17
Forum: Projects
Topic: WinFBE FreeBASIC Editor for Windows (Updated September 6, 2017)
Replies: 229
Views: 11900

Re: WinFBE FreeBASIC Editor for Windows (Updated September 6, 2017)

The reason for the confusion is probably that normally binaries and other artifacts of the build process are not included in the source repository as it really should contain source files only (= files that are not generated automatically by some tool). If one does so, the "source code" do...
by St_W
Sep 17, 2017 12:37
Forum: Beginners
Topic: compile using only static libs
Replies: 15
Views: 550

Re: compile using only static libs

Just to reiterate a previous question ... if an external library only has a .lib file for distribution, then fbc cannot static link the library in the exe file? No, FB can handle *.a and *.lib equally well. You do not need to convert anything. The important thing is that your .a/.lib file is really...
by St_W
Sep 17, 2017 11:28
Forum: Projects
Topic: Pure FB Runtime Library (in progress)
Replies: 22
Views: 744

Re: Pure FB Runtime Library (in progress)

Is there some (public) VCS repository one could follow? (e.g. on GitHub or BitBucket)
by St_W
Sep 17, 2017 11:25
Forum: Projects
Topic: Gamejolt API usage?
Replies: 1
Views: 72

Re: Gamejolt API usage?

FreeBasic does not have networking support built into the language. You need to implement that yourself or use appropriate libraries doing that. Based on those you can perform the HTTP GET requests as described in the API documentation you've linked. For example libcurl should implement everything y...
by St_W
Sep 05, 2017 22:26
Forum: Projects
Topic: WinFBE FreeBASIC Editor for Windows (Updated September 6, 2017)
Replies: 229
Views: 11900

Re: WinFBE FreeBASIC Editor for Windows (Updated September 4, 2017)

What exactly is the problem with the header? I can fix it and submit it. see: https://freebasic.net/forum/viewtopic.php?p=231604#p231604 https://freebasic.net/forum/viewtopic.php?p=234877#p234877 https://freebasic.net/forum/viewtopic.php?f=6&t=25393&start=45 I've created a branch with the f...
by St_W
Sep 05, 2017 11:18
Forum: Linux
Topic: Video capture class with 5 tests.
Replies: 31
Views: 16279

Re: Video capture class with 5 tests.

AWPStar wrote:How can i get it work on ARM with these ASM inline?

You will have to remove or replace the inline assembler by according pure FB code.
by St_W
Sep 03, 2017 15:17
Forum: Community Discussion
Topic: What to do about a lack of developers for the compiler?
Replies: 117
Views: 4405

Re: What to do about a lack of developers for the compiler?

[...] Doing it manually by using virtual machines takes a lot of time and is error prone [...] Which OS versions did you use for the builds - especially for the Linux build? I'm aware of the libc dependency that often prevents use on old Linux machines - are there any other such dependencies on cer...
by St_W
Sep 02, 2017 15:44
Forum: Projects
Topic: FreeBasic IDE-poseidonFB(Update 2017.09.17)
Replies: 547
Views: 36450

Re: FreeBasic IDE-poseidonFB(Update 2017.08.31)

poseidonFB is use hh.exe with mk:@MSITStore: command to open open a page in a compiled HTML help file, just coding one line to call the external hh.exe. You could use the WinHelp function from the Win32 API instead: https://msdn.microsoft.com/en-us/library/windows/desktop/bb762267.aspx It provides ...
by St_W
Sep 01, 2017 17:16
Forum: General
Topic: Mysql advice
Replies: 25
Views: 429

Re: Mysql advice

That could be where I am going wrong I assume that mysql_free_result is the same as in Vb.net where i do DbCon.close (to close the connection to the database so I can access it again from within another part of the program) hm, not really. mysql_close would rather correspond to that. Freeing memory...
by St_W
Sep 01, 2017 15:25
Forum: Tips and Tricks
Topic: Polygons filled using scan line algorithm
Replies: 15
Views: 398

Re: Polygons filled using scan line algorithm

> In your application Integer is probably fine in many (if not all) cases. Its a translation from: C's int (for those, not really reading the whole thread!) Yes, it wouldn't be a simple 1:1 translation anymore, but the algorithm would still work correctly. (and btw I did skim the whole thread inclu...
by St_W
Sep 01, 2017 15:19
Forum: General
Topic: Mysql advice
Replies: 25
Views: 429

Re: Mysql advice

In them examples how would i handle no items found? No special code needed for handling that. mysql_num_rows will return zero in that case. You can test for nrows > 0 like in the example. Just don't forget to call mysql_free_result when you don't need the result (whether empty or not) anymore (e.g....
by St_W
Sep 01, 2017 15:13
Forum: Tips and Tricks
Topic: Polygons filled using scan line algorithm
Replies: 15
Views: 398

Re: Polygons filled using scan line algorithm

`Long` remains a 32-bit signed whole-number data type in both 32 and 64 bit platforms, right? Yes, or use "Integer<32>" which makes the size more clear. However, you only need to use Integer<32>/Long where you actually need a 32-bit variable. In your application Integer is probably fine i...
by St_W
Sep 01, 2017 13:52
Forum: General
Topic: Mysql advice
Replies: 25
Views: 429

Re: Mysql advice

https://dev.mysql.com/doc/refman/5.7/en/mysql-num-fields.html https://dev.mysql.com/doc/refman/5.7/en/mysql-num-rows.html Yes, probably a typo. I've fixed the description of the sample application here: https://www.freebasic-portal.de/code-beispiele/datenbanken/von-freebasic-aus-auf-mysql-zugreifen...
by St_W
Sep 01, 2017 10:56
Forum: General
Topic: Mysql advice
Replies: 25
Views: 429

Re: Mysql advice

jj2007 wrote:mysql_num_fields for both rows and columns?

It should probably be mysql_num_rows for the row count, should it?

Go to advanced search