Search found 72 matches

by thrive4
Apr 02, 2024 12:39
Forum: Libraries & Headers
Topic: preview builds of sdl3
Replies: 0
Views: 140

preview builds of sdl3

Just a heads up the preview builds of sdl3 are, gradually, being released see: https://github.com/libsdl-org/SDL/releases There are a large number of changes from sdl2 to sdl3 see migration readme: https://github.com/libsdl-org/SDL/blob/main/docs/README-migration.md It will be quite chore to convert...
by thrive4
Apr 02, 2024 12:22
Forum: Sources, Examples, Tips and Tricks
Topic: 30k simple web server
Replies: 42
Views: 29073

Re: 30k simple web server

Well as the old joke goes 'a mime is a terrible thing to waste' .... Added basic mime handling some browsers, specifically firefox can get a bit touchy when the mime type is not supplied by the web server. Place all the following files in one folder and compile the code. webserver.bas ' courtesy htt...
by thrive4
Mar 19, 2024 11:54
Forum: Sources, Examples, Tips and Tricks
Topic: 30k simple web server
Replies: 42
Views: 29073

Re: 30k simple web server

Great little webserver mucho kudos to 'parkeet' and other contributions made! Here are some workarounds for some issues I came across while using the code. a) handles are not released on win 7 and win 10 ' possible fix for issue with increasing handles ThreadDetach( client->recvthread ) @line 230 an...
by thrive4
Jan 16, 2024 12:08
Forum: Sources, Examples, Tips and Tricks
Topic: basic svg animation with fb and sdl2
Replies: 0
Views: 527

basic svg animation with fb and sdl2

description Very basic animation with svg (Scalable Vector Graphics) using sdl2, sdl_image and fb. usage : arrow left / right or numpad 4 / 5 to switch svg's arrow up / down or numpad plus / minus to increase / decrease home first svg end last svg F11 fullscreen ESC quit app ' svg animation with fb...
by thrive4
Jan 04, 2024 13:35
Forum: General
Topic: Latest Bass Library and MP3 files
Replies: 11
Views: 1145

Re: Latest Bass Library and MP3 files

Not exactly a bass expert but you could give this a whirl: https://github.com/thrive4/app.fb.audioplayer-bass https://github.com/thrive4/app.fb.audioplayer-bass/releases Compiled with the 32 bit version v2.4.16.7 (some what older version) might help to attain if the issue is 64bits, a more recent ve...
by thrive4
Jan 04, 2024 13:23
Forum: Projects
Topic: mouse and keyboard emulator via gamepad utility with sdl2
Replies: 1
Views: 1538

Re: mouse and keyboard emulator via gamepad utility with sdl2

Quite a number of updates thought I would pass it on. update v1.2 04/01/2024 - refactored most gamepad input code for better handling . added independent acceleration per stick improved mouse . click with left and right trigers etc. - tweaked .mke(s) - corrected screensize factor acceleration . now ...
by thrive4
Dec 19, 2023 10:55
Forum: Projects
Topic: sqlite import / export util supports csv, json, html, sql and xml
Replies: 2
Views: 1624

Re: sqlite import / export util supports csv, json, html, sql and xml

Integrated previously posted functionality from: https://www.freebasic.net/forum/viewtopic.php?p=296549 'barebone export mp3 cover (jpeg / png) no dll's' https://www.freebasic.net/forum/viewtopic.php?p=288025 'mht 2 html' update v1.2 18/12/2023 - integrated mp3 album cover export | from https://gith...
by thrive4
Nov 07, 2023 10:43
Forum: Community Discussion
Topic: Question for adeyblue
Replies: 9
Views: 3182

Re: Question for adeyblue

Sorry, thrive4 but after about a minute of River Man my boat started to take in water rapidly and eventually sank. Alas... :wink: If he tells me all he knows 'Bout the way his river flows I don't suppose It's meant for me Oh, how they come and go Oh, how they come and go Musical preferences aside, ...
by thrive4
Nov 06, 2023 18:42
Forum: Community Discussion
Topic: Question for adeyblue
Replies: 9
Views: 3182

Re: Question for adeyblue

So let's throw a curve ball between Russ Abbott's - Atmosphere and Floyd's - Shine On You Crazy Diamond Nick Drake - Riverman https://duckduckgo.com/?kl=us-en&q=nick+drake+-+river+man&t=seamonkey&iax=videos&ia=videos&iai=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DidcaRTg4-fM htt...
by thrive4
Nov 04, 2023 12:20
Forum: Projects
Topic: commandline zip packer / unpacker util using libzip
Replies: 2
Views: 1498

Re: commandline zip packer / unpacker util using libzip

Good to hear that the code was of some use to you. Have fun with it! Bye the bye some other avenues worth while looking into: https://www.freebasic.net/forum/viewtopic.php?t=23706 7zip Example - by nimdays or writing an shell wrapper around: https://www.7-zip.org/download.html specifically 7za.exe (...
by thrive4
Nov 04, 2023 12:07
Forum: Projects
Topic: sqlite import / export util supports csv, json, html, sql and xml
Replies: 2
Views: 1624

Re: sqlite import / export util supports csv, json, html, sql and xml

Quite a chuncky update added and fixed the following: update v1.1 02/11/2023 - added export meta info mp3 to other fileformats | csv, json, sql and xml - added export meta info mp3 album to html - added filter table javascript | courtesy to: https://www.w3schools.com/howto/howto_js_filter_table.asp ...
by thrive4
Oct 26, 2023 14:41
Forum: General
Topic: I want to write a program that listens on a http port and can send a webpage back
Replies: 6
Views: 1840

Re: I want to write a program that listens on a http port and can send a webpage back

Maybe this could help: https://www.freebasic.net/forum/viewtopic.php?t=4199&hilit=Simple+Web+Server&start=15 The modified code by 'cha0s' works rather well. Tested on windows 7 with Const WM_SHELLNOTIFY = WM_USER + 5 Const ID_RUN = 1001 Const ID_PAUSE = 1002 Const ID_EXIT = 1003 Const SERVER...
by thrive4
Oct 21, 2023 12:17
Forum: Sources, Examples, Tips and Tricks
Topic: convert unixtime from and to datetime notation
Replies: 3
Views: 1639

Re: convert unixtime from and to datetime notation

@caseih On Windows you'll want to use _mktime64 and friends Yep see function date2unixtime() The 2038 thing is probably not that big of an issues... Hmmm true to to a degree still there are probably a number of loose ends... https://lwn.net/Articles/776435/ ..I pity the poor folk in 292,277,026,596 ...
by thrive4
Oct 21, 2023 11:49
Forum: Beginners
Topic: Analizing characters in a String
Replies: 11
Views: 3120

Re: Analizing characters in a String

Riffing on the code of counting_pine ' check if string contains alphanumeric value ' courtesy counting_pine https://www.freebasic.net/forum/viewtopic.php?p=166250&hilit=isalphanum#p166250 function isalphanumeric(haystack as string) as boolean dim i as integer do select case asc(mid(haystack, i, ...
by thrive4
Oct 12, 2023 17:45
Forum: Beginners
Topic: LibZip libraries and include files
Replies: 6
Views: 1848

Re: LibZip libraries and include files

Also wanted to extend a hearty thanks to 'srvaldez'
for sharing the libzip dlls (windows 32bit / 64bit)
with us.

I've made a small util which can be found here:
viewtopic.php?t=32413