Search found 821 matches

by Mysoft
Feb 09, 2022 14:25
Forum: Libraries & Headers
Topic: GUI library for Windows \ Linux (window9)
Replies: 1050
Views: 270787

Re: GUI library for Windows \ Linux (window9)

@Mysoft It is better to use ImageGadget for drawing, while using ImageStartDraw+SetImageGadget. @Vortex thank you! yes but i can't get mouse and key events from an imageGadget with the current state... only from windows oh btw i tested what i had done so far on a linux machine, and seems the linux ...
by Mysoft
Feb 08, 2022 11:26
Forum: Libraries & Headers
Topic: GUI library for Windows \ Linux (window9)
Replies: 1050
Views: 270787

Re: GUI library for Windows \ Linux (window9)

also i find weird that you have GetLenString for printer, but not for image/window, Just at the moment I am writing a similar function, but it will be called differently ok, right now i used GetLenString on linux (because it does not seem to depend on any printing specific stuff, but it will add th...
by Mysoft
Feb 07, 2022 20:12
Forum: Libraries & Headers
Topic: GUI library for Windows \ Linux (window9)
Replies: 1050
Views: 270787

Re: GUI library for Windows \ Linux (window9)

hum... WindowBackgroundImage claims to be both windows/linux but i can't seem to find it on linux sources or bi files... (despite it seems badly documented as it suggestes DeleteObject to delete the returned hbrush, but i guess brush is only used for the auto-pattern while manual drawing on WM_ERASE...
by Mysoft
Feb 05, 2022 2:48
Forum: Libraries & Headers
Topic: GUI library for Windows \ Linux (window9)
Replies: 1050
Views: 270787

Re: GUI library for Windows \ Linux (window9)

oh no worries, i dont want to use a third party library on windows (other than window9 itself), and w9 almost have everything i need anyway, except for the font size part, and actual "char" received on keyboard events as i just have virtual key hehe... maybe we should add that for w9, as w...
by Mysoft
Feb 03, 2022 17:30
Forum: Libraries & Headers
Topic: GUI library for Windows \ Linux (window9)
Replies: 1050
Views: 270787

Re: GUI library for Windows \ Linux (window9)

ok, i had the opportunity to test this... and i like that is kinda a wrapper based on winapi functionality :) i know the source code of this have some OOP on it... but oh well, AT LEAST that isnt required to use the library at all, and i'm VERY VERY VERY¹²³ thankful for that. So since i got the requ...
by Mysoft
Jan 21, 2022 18:50
Forum: Linux
Topic: fbsound 1.1 crash
Replies: 4
Views: 2113

Re: fbsound 1.1 crash

D.J.Peters wrote:if you need two playing MP3 streams one after the other use this:
that didnt solved it on linux.... still crashes misteriously
(i even added extra checks to make sure it does not try to do something when creating the stream/play fails)
but no dice...
by Mysoft
Jan 21, 2022 18:30
Forum: Linux
Topic: fbsound 1.1 crash
Replies: 4
Views: 2113

Re: fbsound 1.1 crash

ok, so i have to be persistant on the state for it to work i see, on windows that was not required but good to know yeah loading is not an option because it wastes ram like crazy and takes a bunch to load a whole mp3, but thats what the code had at first i will try the updated code... btw theres any...
by Mysoft
Jan 21, 2022 14:43
Forum: Linux
Topic: fbsound 1.1 crash
Replies: 4
Views: 2113

fbsound 1.1 crash

so tried this minimal sample of fbsound 1.1 (dynamic) on ubuntu 20.04 with 64bit version of fbsound... #include "fbsound_dynamic.bi" dim shared as integer IsPlaying sub playmp3(f as STRING) if IsPlaying then FBS_End_MP3Stream() FBS_Create_MP3Stream(f) FBS_Play_MP3Stream() IsPlaying=true sl...
by Mysoft
Nov 08, 2021 19:03
Forum: Projects
Topic: VFB IDE【Visual Freebasic】Like vb6@5.8.11//2023-7-6
Replies: 142
Views: 58168

Re: VFB IDE【Visual Freebasic】Like vb6@Updae2021-5-8

heh garbage way to download... useless bloat on the package (altough it supposely having freebasic along is "ok") it requires the IDE to compile anything made by it.. you can't export... you can't use it ouside the IDE its OOP garbage only... so its useless... the IDE just by opening uses ...
by Mysoft
Aug 14, 2021 0:51
Forum: Community Discussion
Topic: Update website IRC webchat
Replies: 0
Views: 1684

Update website IRC webchat

so the site is currently pointing to a webchat that does not exist anymore... (freenode became joseon and the webchat got disabled)
so... it should be updated to point to

Code: Select all

https://web.libera.chat/?channels=#freebasic
by Mysoft
Apr 30, 2021 19:01
Forum: General
Topic: HalfBug (incosistency??) with returning UDTs
Replies: 3
Views: 792

HalfBug (incosistency??) with returning UDTs

Type MyUDT as integer X,Y end type function RegularReturn() as integer RegularReturn = 10 function = 10 return 10 'all fine end function function UDTReturn() as MyUDT UDTReturn = type<MyUDT>(10,20) 'fine 'function.x = 10 'illegal inside functions find function 'UDTReturn.x = 10 'calls the function ...
by Mysoft
Dec 15, 2020 23:18
Forum: Community Discussion
Topic: FreeBASIC 1.08 Development
Replies: 339
Views: 61419

Re: FreeBASIC 1.08 Development

heh among the things i was trying to get to work with freebasic, but without success they were "intrinsinc" instructions... like i could even get SOME working i.e. declare function __popcnt cdecl alias "__builtin_popcount" (n as integer) as integer print __popcnt(3) but i can't g...
by Mysoft
Oct 16, 2020 18:31
Forum: Libraries Questions
Topic: ASpell dictionaries to work with FB Example
Replies: 4
Views: 1942

Re: ASpell dictionaries to work with FB Example

ok... where i do start... first i will use the old version of it as i think the .bi expect that version.... AND... the newer version does not have windows binaries... so one would need to compile that to even try... and i wont do that, so lets work with what we have... since aspell have installers f...
by Mysoft
Jul 19, 2020 3:59
Forum: General
Topic: Recursive Defines
Replies: 1
Views: 725

Re: Recursive Defines

ok, so it seems on freebasic 1.01+ i need to have two macros calling each other for the idea to work... and to avoid having duplicates of the macros it will have another macro to create the two macros.... so it looks like this: #macro RepTill10() #macro __GenMacro(_GA,_GB) #macro __DoRepeat##_GA() p...
by Mysoft
Jul 15, 2020 14:36
Forum: General
Topic: Recursive Defines
Replies: 1
Views: 725

Recursive Defines

so what is the current state and ideals of freebasic regarding Recursive Defines? its a very useful thing to allow more advanced parsing at compile time, but seems too much effort is doing on freebasic to try to "eliminate" that without a good reason... for example: #macro UcaseChar( _N , ...