Search found 260 matches

by oyster
Jan 22, 2024 5:51
Forum: Sources, Examples, Tips and Tricks
Topic: Fish aquarium
Replies: 18
Views: 1217

Re: Fish aquarium

by oyster
Dec 27, 2023 1:57
Forum: Libraries Questions
Topic: Trying to use an FB static library in a C program
Replies: 5
Views: 803

Re: Trying to use an FB static library in a C program

no, the solution has nothing to do with "name mangling", but the sequence how gcc treats source code and library

What I write on "name mangling" is for further convenient usage, but not for solving xlucas's problem
by oyster
Dec 27, 2023 1:50
Forum: Libraries & Headers
Topic: GUI library for Windows \ Linux (window9)
Replies: 1050
Views: 269672

Re: GUI library for Windows \ Linux (window9)

I uncomment the line in the window9.bi, then I re-build libwindow9.a. Now the title is right. So I suspect that window9.zip\window9\Bin\Win64\UNICODE\libwindow9.a from https://sourceforge.net/projects/guiwindow9/files/Older%20Version/2023-03-06/ is built without the UNICODE definition '#Define UNICO...
by oyster
Dec 27, 2023 1:42
Forum: Libraries & Headers
Topic: GUI library for Windows \ Linux (window9)
Replies: 1050
Views: 269672

Re: GUI library for Windows \ Linux (window9)

No, it does not work for pre-complied library. This is my steps 1. download FreeBASIC-1.10.1-winlibs-gcc-9.3.0.7z from https://github.com/freebasic/fbc/releases/tag/1.10.1, and decompress 2. download window9.zip from https://sourceforge.net/projects/guiwindow9/files/Older%20Version/2023-03-06/ 3. co...
by oyster
Dec 26, 2023 13:32
Forum: Libraries & Headers
Topic: GUI library for Windows \ Linux (window9)
Replies: 1050
Views: 269672

Re: GUI library for Windows \ Linux (window9)

SARG wrote: Dec 26, 2023 10:55 Not sure it fixes the issue but try to uncomment the line below in window9.bi

Code: Select all

'#Define UNICODE
No, nothing changes even I uncomment it

FreeBASIC-1.10.1-win64/fbc.exe -s gui test1.bas
by oyster
Dec 26, 2023 2:22
Forum: Libraries & Headers
Topic: GUI library for Windows \ Linux (window9)
Replies: 1050
Views: 269672

Re: GUI library for Windows \ Linux (window9)

why the window title is not corrected? for the simple code, the window title is not "Hello", but "效汬o" on my Simplified Chinese Windows 10 64 bits even I am using "window9\Bin\Win64\UNICODE\libwindow9.a" #Include "window9.bi" Dim As Integer event Dim as HWND h...
by oyster
Dec 26, 2023 1:40
Forum: Libraries Questions
Topic: Trying to use an FB static library in a C program
Replies: 5
Views: 803

Re: Trying to use an FB static library in a C program

gcc a.c -L. -l:libdupli.a btw, you can try any of the following code to get function "Duplicate" extern "C" Function Duplicate(v As Short) As Short export Return 2 * v End Function end extern '~ Function Duplicate alias "Duplicate"(v As Short) As Short export '~ Return...
by oyster
Dec 22, 2023 5:14
Forum: Community Discussion
Topic: anyone remember this book?
Replies: 6
Views: 928

Re: anyone remember this book?

thanks
QBasic games and more! Fred Sexton Jr, QBasic. Published in 1994
seems to be that one

The bad news is we can't find a e-book copy
by oyster
Dec 21, 2023 2:07
Forum: Community Discussion
Topic: anyone remember this book?
Replies: 6
Views: 928

anyone remember this book?

In the year between 1994-1998, I bought a translated book on Qbasic/QuickBasic programming in my local book store; in other words, the original book should be published in its native market earlier. The book is about game programming, in which a sprite editor is discussed where the screen is divided...
by oyster
Nov 22, 2023 1:04
Forum: Projects
Topic: MyFbFramework - My FreeBasic Framework
Replies: 81
Views: 20953

Re: MyFbFramework - My FreeBasic Framework

it is a good news to know that webbrower2 has been supported. I am looking forward to demos on complex GUI via web technology. Currently, I am using https://nicegui.io/. The `row/column` context layout, `slots` concept and bind_visibility make me finish a prototype very quickly. The only problem, ju...
by oyster
Oct 14, 2023 1:00
Forum: Community Discussion
Topic: Freebasic 1.20.0 Development
Replies: 227
Views: 20513

Re: Freebasic 1.20.0 Development

I do expect these features are implemented in freebasic itself, but not as an external lib 1. uniformal index and slice syntax like python does, for string, array and every index-able variant, which supports positive/negative index, omit-able index for slice 2. String Interpolation 3. "for each...
by oyster
Sep 28, 2023 7:27
Forum: Projects
Topic: VisualFBEditor - IDE for FreeBasic
Replies: 886
Views: 128287

Re: VisualFBEditor - IDE for FreeBasic

remind: fbeebasic v 1.10.0 or above is need to compile latest VisualFBEditor

if 1.09.0 used
```
VisualFBEditor-master\src\frmFind.frm(28) error 209: Illegal non-static member access, FRMFIND.FORM_CLOSE
```
by oyster
Sep 04, 2023 15:39
Forum: Sources, Examples, Tips and Tricks
Topic: Programming Languages Benchmark
Replies: 71
Views: 12530

Re: Programming Languages Benchmark

as for python, you can try shekskin, pypy
by oyster
Jul 14, 2023 2:17
Forum: Projects
Topic: MyFbFramework - My FreeBasic Framework
Replies: 81
Views: 20953

Re: MyFbFramework - My FreeBasic Framework

does webbrower control support webview2 on windows OS? Is there a demo code? Thanks
by oyster
Mar 24, 2023 5:31
Forum: Community Discussion
Topic: webui, off topic, but may be used by fb
Replies: 1
Views: 1097

webui, off topic, but may be used by fb

https://github.com/alifcommunity/webui Use any web browser as GUI, with your preferred language in the backend, and HTML/JS/TS/CSS in the frontend. Features - Written in Pure C - Fully Independent (No need for any third-party library) - Lightweight (~160 Kb using TCC) & Small memory footprint - ...