Page 8 of 13

Re: PureBasic 6.30 beta 4 is ready !

Posted: Sat Oct 25, 2025 6:10 pm
by spacebuddy
Another excellent update. :D

Re: PureBasic 6.30 beta 4 is ready !

Posted: Sat Nov 01, 2025 3:35 pm
by User_Russian
What data return function IsHID()? If it is not a pointer to a structure hid_device, then how can one get it?

Re: PureBasic 6.30 beta 4 is ready !

Posted: Sat Nov 01, 2025 3:38 pm
by Quin
Just wanted to drop by and state my appreciation for this upcoming release! I got a software development job and haven't been touching pb as much these days, but it's a great hobby tool and I love the new InputRequester flag :)

Re: PureBasic 6.30 beta 4 is ready !

Posted: Sat Nov 01, 2025 4:56 pm
by MGD
Relatively new to PB and looking at the new ScreenWindow and gadgets. It looks like these build on the 2D screen library, and as such use OpenGL. Is it possible to open an OpenGL gadget on top of a screen? If so, how do you manage the OpenGL context switching?
(Yes, I have a reason for doing this... I want to pass the OpenGL context in a positioned gadget to an external library for it to draw while I'm managing the enclosing UI, which will contain other "portal" gadgets (eg webviews) as well).

Re: PureBasic 6.30 beta 4 is ready !

Posted: Sun Nov 02, 2025 5:20 pm
by User_Russian
Tested the HID library in the project FM tuner for PC (text is on russian language, use google-translate) on Windows, Linux and MacOS and it works stably.

Re: PureBasic 6.30 beta 4 is ready !

Posted: Mon Nov 03, 2025 10:10 am
by Fred
Thanks for the feedback !

Re: PureBasic 6.30 beta 4 is ready !

Posted: Tue Nov 04, 2025 9:36 pm
by User_Russian
User_Russian wrote: Sat Nov 01, 2025 3:35 pm What data return function IsHID()? If it is not a pointer to a structure hid_device, then how can one get it?
I figured out how to do it.

Code: Select all

Procedure HID_ID(HID)
  Protected id=0
  
  id = IsHID(HID)
  If id
    id=PeekI(id)
  EndIf
  
  ProcedureReturn id
EndProcedure
The procedure will return a pointer to structure hid_device or 0 if the device is not open.

Re: PureBasic 6.30 beta 4 is ready !

Posted: Wed Nov 05, 2025 5:03 am
by Quin
Any chance of seeing this in 6.30? viewtopic.php?p=635679

Re: PureBasic 6.30 beta 4 is ready !

Posted: Fri Nov 07, 2025 8:25 am
by akee
Hi Fred,
It would be nice to have ../PureBasic/Residents/UserResidents folder for constants. Something like ../PureBasic/PureLibraries/UserLibraries folder for libraries.

PureLibrary has made my programming journey so much more pleasant. Thank you.

Re: PureBasic 6.30 beta 4 is ready !

Posted: Fri Nov 07, 2025 9:28 am
by Fred
Good idea

Re: PureBasic 6.30 beta 4 is ready !

Posted: Sun Nov 09, 2025 7:45 pm
by thyphoon
A little idea. Could you add a line to the build log that prints all link-time dependencies (DT_NEEDED) of the binary, and also list the runtime dependencies (shared libraries) needed to run the compiled program (Linux) ?

Re: PureBasic 6.30 beta 4 is ready !

Posted: Sun Nov 09, 2025 8:43 pm
by infratec
thyphoon wrote: Sun Nov 09, 2025 7:45 pm .. and also list the runtime dependencies (shared libraries) needed to run the compiled program (Linux) ?
You can use ldd to find out the needed libs.

Re: PureBasic 6.30 beta 4 is ready !

Posted: Sun Nov 09, 2025 8:50 pm
by thyphoon
infratec wrote: Sun Nov 09, 2025 8:43 pm You can use ldd to find out the needed libs.
Thank you 🥳, I wasn't aware of this command😅. I didn't even think to check if it was possible to do it directly😱
Too much Windows in my life!🫣

Re: PureBasic 6.30 beta 4 is ready !

Posted: Thu Nov 27, 2025 11:09 am
by miso
When will be docs available for the new features? How can I get the descriptor data?

Re: PureBasic 6.30 beta 4 is ready !

Posted: Mon Dec 01, 2025 11:26 am
by Axolotl
I think with the release of the final version. Second Question: I don't know.