Search found 1084 matches

by jj2007
Apr 20, 2019 11:24
Forum: Projects
Topic: sGUI
Replies: 212
Views: 30199

Re: sGUI

Even after correction of the two chr $ (), I get a bunch of cryptic errors: ** compiling TmpFb.bas with -t 2000 -s console ** sGUIWin_v0.9.00_01\tmp\TmpFb.bas(6) error 14: Expected identifier, found 'TextObject' sGUIWin_v0.9.00_01\tmp\TmpFb.bas(7) error 41: Variable not declared, TOList sGUIWin_v0.9...
by jj2007
Apr 20, 2019 5:45
Forum: Projects
Topic: sGUI
Replies: 212
Views: 30199

Re: sGUI

Window_UserGFXDemo compiles and works "out of the box" - compliments! But please test the older demos, for example sGUI_Misc.bas.
by jj2007
Apr 18, 2019 16:57
Forum: General
Topic: Check if active
Replies: 4
Views: 170

Re: Check if active

On Windows, check the difference between GetActiveWindow, GetForegroundWindow and GetFocus.
by jj2007
Apr 18, 2019 3:16
Forum: Tips and Tricks
Topic: 3d animated tunnel in pure FB
Replies: 15
Views: 17142

Re: 3d animated tunnel in pure FB

Looks interesting, but I don't have TinyC installed. So I tried Visual C, Gcc and PellesC. All three fail with this code, with very different error messages, of course. It would be nice if C was compatible to something ;-)
by jj2007
Apr 16, 2019 13:06
Forum: Documentation
Topic: Wiki improvements
Replies: 268
Views: 19248

Re: Wiki improvements

dodicat wrote:it says no matches for get
"By default, searches are limited to text strings greater than 4 characters". And I agree that this is a problem. My personal favourite help system is the old and terribly obsolete WinHelp32 btw. Clearly the best!
by jj2007
Apr 13, 2019 5:38
Forum: General
Topic: Speed issue with string concatenation and a solution
Replies: 14
Views: 427

Re: Speed issue with string concatenation and a solution

Stringbuilders typically do the first default, and the second if you set a capacity. Or they avoid both to simply not wrap a single block allocation, but a linked list of say <n>MB blocks that you can then write to a socket one by one. That is basically what an array does. In fact, there is rarely ...
by jj2007
Apr 12, 2019 18:03
Forum: General
Topic: Speed issue with string concatenation and a solution
Replies: 14
Views: 427

Re: Speed issue with string concatenation and a solution

The problem boils down to either - marcov's StringBuilder class (several reallocations, risk to fail a HeapRealloc for large sizes) - or finding a way to know beforehand which size you need, at least approximately (requires coder to think ) There is no perfect solution. Even in assembly string conca...
by jj2007
Apr 12, 2019 2:05
Forum: General
Topic: UEFI FreeBasic programming
Replies: 12
Views: 476

Re: UEFI FreeBasic programming

angros47 wrote:the runtime libraries would not work.
That's the point.
by jj2007
Apr 08, 2019 19:54
Forum: Projects
Topic: Gas64 (no more use of gcc, only gas) :-)
Replies: 41
Views: 2611

Re: Gas64 (no more use of gcc, only gas) :-)

At the start of the project I was using dec/inc then I read somewhere that was not efficient. I don't remember why Once upon a time there were CPUs which were slightly slower when using inc instead of add reg32, 1. Modern CPUs don't show any performance difference, but inc is a one-byter while add ...
by jj2007
Apr 08, 2019 13:36
Forum: General
Topic: Endian
Replies: 14
Views: 493

Re: Endian

I've programmed a lot in 68000 Assembler (big endian) when I was younger. Nowadays it's the Intel family of processors, and I must admit that little Endian code is often more convenient and elegant.
by jj2007
Apr 06, 2019 19:47
Forum: General
Topic: UEFI FreeBasic programming
Replies: 12
Views: 476

Re: UEFI FreeBasic programming

Unified Extensible Firmware Interface (and I doubt that FreeBasic can run on a machine that has not yet booted...)
by jj2007
Mar 29, 2019 18:53
Forum: Projects
Topic: gentext chung text generation based on SORT algorythm
Replies: 4
Views: 243

Re: gentext chung text generation based on SORT algorythm

Looks interesting but when I try to build gentext_chung.bas I get loads of errors, for GAS, Gcc32 and Gcc64: gentext_chung\tmp\TmpFb.bas(203) error 24: Invalid data types gentext_chung\tmp\TmpFb.bas(205) error 20: Type mismatch gentext_chung\tmp\TmpFb.bas(207) error 57: Type mismatch, at parameter 2...
by jj2007
Mar 29, 2019 15:14
Forum: Libraries
Topic: win/linux static libs to compress /decompress as zlib
Replies: 5
Views: 274

Re: win/linux static libs to compress /decompress as zlib

JibZ has great stuff. I use his TinfLib for my UnzipFile macro.
by jj2007
Mar 26, 2019 14:03
Forum: General
Topic: Squares
Replies: 6360
Views: 362983

Re: Squares

This compression thing is really fascinating, but I really wonder whether its participants are just pulling the legs of the rest of the World ;-)
by jj2007
Mar 26, 2019 13:59
Forum: Projects
Topic: Gas64 (no more use of gcc, only gas) :-)
Replies: 41
Views: 2611

Re: Gas64 (no more use of gcc, only gas) :-)

I guess I'm not clear enough or maybe you should read more carefully.... :-) [rant]Maybe it's not your fault, no idea. Every single FB "package" has its own quirks, needs specific settings, environment variables (set PATH? set INCLUDE?). Most of my FB stuff works now, but every time I see...

Go to advanced search