Search found 8239 matches

by D.J.Peters
Jun 15, 2025 1:07
Forum: General
Topic: [missing feature] Is there a postfix for unsigned 16-bit hex values ?
Replies: 5
Views: 420

Re: Is there a postfix for unsigned 16bit hex values ?

SARG wrote: Jun 14, 2025 19:01No.
That's exactly what I didn't want to hear. :-)

Joshy
by D.J.Peters
Jun 14, 2025 17:16
Forum: General
Topic: [missing feature] Is there a postfix for unsigned 16-bit hex values ?
Replies: 5
Views: 420

[missing feature] Is there a postfix for unsigned 16-bit hex values ?

I know it exists unsigned 32-bit postfix "UL" e.g. &H81234UL but Is there a kind of 16-bit "US" also ?

something like: &H8123US

Joshy
by D.J.Peters
Jun 12, 2025 19:16
Forum: Beginners
Topic: New little Parser example
Replies: 8
Views: 1255

Re: New little Parser example

sizeOf(String) returns the size of the struct/type of STRING not the number of chars ! Joshy dim as string s = "1" dim as zstring * 1 z = "1" print "nChars(s) : " & len(s) print "sizeOf(String): " & SizeOf(s) print "nChars(z) : " & len(z)...
by D.J.Peters
Jun 12, 2025 18:57
Forum: Beginners
Topic: in regard to WinLIFT64.dll
Replies: 4
Views: 415

Re: in regard to WinLIFT64.dll

with: v=skVersion() you overwrite the C++/FreeBASIC allocated pointer with memory allocated by the library ! with Delete[] v you (try) to deallocate a memory region allocated by the libraray not by C++/FreeBASIC ! var v = skVersion() ? *v sleep may be it's a "const" ptr allocated by the li...
by D.J.Peters
Jun 10, 2025 14:45
Forum: Projects
Topic: IUP_FB_EDITOR (simple development environment)
Replies: 204
Views: 102537

Re: IUP_FB_EDITOR (simple development environment)

Thanks for all your work and fast updates but one question Isn't there a "IUP_GTK3_32_FIXED_LIBRARY.zip" ?

Joshy
by D.J.Peters
Jun 09, 2025 7:58
Forum: Emscripten
Topic: emscripten windows 7 - 32bit
Replies: 4
Views: 1244

Re: emscripten windows 7 - 32bit

Why are gfx modes are limited to 640 x 480 ? static int modes[] = { SCREENLIST(640, 480), SCREENLIST(512, 512), SCREENLIST(320, 240), SCREENLIST(320, 200), SCREENLIST(320, 100), SCREENLIST(256, 256), SCREENLIST(160, 120), SCREENLIST(80, 80) }; Shouldn't "fbjs.bat" call "emsdk_env.bat&...
by D.J.Peters
Jun 09, 2025 3:59
Forum: Community Discussion
Topic: Creating Raylib Bindings for FreeBASIC (with AI)
Replies: 14
Views: 1158

Re: Creating Raylib Bindings for FreeBASIC (with AI)

"raymath.bi" and "rlgl.bi" are missing from the raylib 5.5 package

Joshy
by D.J.Peters
Jun 05, 2025 15:47
Forum: Projects
Topic: IUP_FB_EDITOR (simple development environment)
Replies: 204
Views: 102537

Re: IUP_FB_EDITOR (simple development environment)

VANYA wrote: Jun 04, 2025 16:38... because it turned out to be necessary.
You are my man :-)

Joshy
by D.J.Peters
Jun 04, 2025 16:13
Forum: Projects
Topic: IUP_FB_EDITOR (simple development environment)
Replies: 204
Views: 102537

Re: IUP_FB_EDITOR (simple development environment)

To make the editor as a "portable App" e.g. run it from USB stick etc. I changed fl_get_user_home_dir() in file: "file.bi" and file: "plug_highlight_coincidences.bas" there are more places where I have to change it ? Joshy Function fl_get_user_home_dir() As String Dim A...
by D.J.Peters
Jun 04, 2025 2:27
Forum: Emscripten
Topic: emscripten windows 7 - 32bit
Replies: 4
Views: 1244

Re: emscripten windows 7 - 32bit

Hello Mysoft,
can you share the FreebasicWebShowcase folder as a zip file to run it local on a web server
and the freebasic source codes and the command line arguments to buld the FreebasicWebShowcase files ?

Thank you

Joshy
by D.J.Peters
May 08, 2025 12:34
Forum: Windows
Topic: extern import WIN32 vs WIN64 ?
Replies: 10
Views: 1724

Re: extern import WIN32 vs WIN64 ?

After hours of try and error I give up! must be an bug in 64 bit mode the keyword 'import' doesn*'t work at all. I tested the same DLL and import library with C/C++ without any linker error ! Again this works with fbc32.exe type sfColor as ubyte r,g,b,a end type extern import sfBlack alias "sfB...
by D.J.Peters
May 08, 2025 6:58
Forum: Windows
Topic: extern import WIN32 vs WIN64 ?
Replies: 10
Views: 1724

extern import WIN32 vs WIN64 ?

sfColor is exported in a DLL type sfColor as ubyte r,g,b,a end type extern import sfBlack alias "sfBlack" as const sfColor test01.bas print sfBlack.r,sfBlack.g,sfBlack.b,sfBlack.a 32 bit OK r,g,b are 0 and a=255 64-bit I get: test01.o:fake:(.rdata$.refptr._imp__sfBlack+0x0): undefined refe...
by D.J.Peters
Apr 30, 2025 18:28
Forum: Game Dev
Topic: Equation of circle when three points are given
Replies: 7
Views: 1216

Re: Equation of circle when three points are given

here are my solution from 1997 :-)
give it a try

Joshy
by D.J.Peters
Apr 23, 2025 6:01
Forum: General
Topic: which version of gdb.exe for FreeBASIC Version 1.20.0 windows 32-bit (standalone) ?
Replies: 25
Views: 3360

Re: which version of gdb.exe for FreeBASIC Version 1.20.0 windows 32-bit (standalone) ?

SARG wrote: Apr 22, 2025 19:46I guess you should use a more recent version of GDB.
I guess you don't share the a link to the right download of 'gdb.exe' :-)

Joshy