PureBasic 6.30 is out !

Developed or developing a new product in PureBasic? Tell the world about it.
User avatar
minimy
Addict
Addict
Posts: 845
Joined: Mon Jul 08, 2013 8:43 pm
Location: off world

Re: PureBasic 6.30 beta 5 is ready !

Post by minimy »

Thank you very much PB team!!
When will be ready the ternary byte from 0 to 6560? :lol:
Naah! :wink: im really happy with PB, is very light, easy to learn, fast, multi OS and the best community and forum.
Thanks again! Hip! Hip! Hurra! For PB for ever!

Advice:
This Christmas, give PB. :mrgreen:
If translation=Error: reply="Sorry, Im Spanish": Endif
threedslider
Enthusiast
Enthusiast
Posts: 562
Joined: Sat Feb 12, 2022 7:15 pm

Re: PureBasic 6.30 beta 5 is ready !

Post by threedslider »

Features and fixes are welcome for always ! :D

Thanks to Fred and Team !

Happy Christmas !

@minimy : Yeah PB for Christmas ! I hope :mrgreen:
Matheos
New User
New User
Posts: 5
Joined: Sat Dec 13, 2025 9:23 pm

Re: PureBasic 6.30 beta 5 is ready !

Post by Matheos »

Hi, I noticed this variation in PB 6.30 Beta 5. We have some historic code that used PrintN for debugging purposes when our application was under development and hadn't noticed it was still present. Under PB 6.20 and earlier, it didn't open a console window as #Testmode was false, but under 6.30 it opens a console window even when the code isn't executed.

I'm not sure if it's intended, aside from the fact that we could have used CompilerIf.

Code: Select all

; * Enable 'Use Debugger'

; * Note - console window is opened in PB 6.30 Beta 5, not in former version 6.20 and earlier

#Testmode = #False
If #Testmode
  ; OpenConsole()
EndIf

;
;  Do something
;

If #Testmode
  PrintN("Test Output")
EndIf

Delay(5000)
User avatar
DeanH
Enthusiast
Enthusiast
Posts: 285
Joined: Wed May 07, 2008 4:57 am
Location: Adelaide, South Australia
Contact:

Re: PureBasic 6.30 beta 5 is ready !

Post by DeanH »

Thanks for the clue. I did some testing. It looks as if any console function is anywhere in the code - even if the console itself is not opened and the function not actually used - running the code from the IDE opens the console window regardless. I have a little old program based on the Atomic Web Server that uses ReadConsoleData and WriteConsoleData with no other console commands. The console window pops open when it is run from the IDE. However, it does not open from a compiled exe. Is this a deliberate change or accidental?
Matheos
New User
New User
Posts: 5
Joined: Sat Dec 13, 2025 9:23 pm

Re: PureBasic 6.30 beta 5 is ready !

Post by Matheos »

DeanH wrote: Tue Dec 16, 2025 11:04 pm Thanks for the clue. I did some testing. It looks as if any console function anywhere in the code - even if the console itself is not opened and the function not actually used - running the code from the IDE opens the console window regardless. I have a little old program based on the Atomic Web Server that uses ReadConsoleData and WriteConsoleData with no other console commands. The console window pops open when it is run from the IDE.
Thanks for posting back about it, agreed with regard to the findings, which is that any console function anywhere in the code will open a console if compiling with the debugger. We always make use of the debugger for software testing and some INCLUDEFILE code contains unit tests that are switched on or off at any time, so these consoles are popping up in several concurrent client-server GUI screens when they are not needed.
Is this a deliberate change or accidental?
Good question, although I can't see how the code below should open a console. With PB 6.30, that's what is happening...

Code: Select all

#Testmode = #False
If #Testmode
  OpenConsole()
  PrintN("Test Output")
EndIf
Fred
Administrator
Administrator
Posts: 18474
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 6.30 beta 5 is ready !

Post by Fred »

It was to try to fix this bug: viewtopic.php?t=87683, we need to install the exception handler at the program start so a console needs to be created to do so. I will change back this fix, as it's not really a common case anyway.
Fred
Administrator
Administrator
Posts: 18474
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 6.30 beta 6 is ready !

Post by Fred »

A new beta version is available, hopefully the last ! It has only a few changes:

Code: Select all

- Changed GetHIDReportDescriptor() to return a buffer (MemorySize() can be used to get the size, and FreeMemory() to free it)
Bugfixes for this version:This list was created automatically. All updated bug threads from the date of the last final version have been determined.
threedslider
Enthusiast
Enthusiast
Posts: 562
Joined: Sat Feb 12, 2022 7:15 pm

Re: PureBasic 6.30 beta 6 is ready !

Post by threedslider »

Thanks a lot ! Awesome from fixes ! :mrgreen:
User avatar
Skipper
User
User
Posts: 71
Joined: Thu Dec 19, 2024 1:26 pm
Location: Europe

Re: PureBasic 6.30 beta 6 is ready !

Post by Skipper »

Thank you, Fred & team, for your continued support. :D

Using PureBasic 6.21 on:
  • Win-11 on x64 XEON
  • Mint Linux on x64 i3 and on x64 i5
  • MacOS Monterey on x64 MacBook Pro
  • Various Raspberry Pi's

miso
Enthusiast
Enthusiast
Posts: 674
Joined: Sat Oct 21, 2023 4:06 pm
Location: Hungary

Re: PureBasic 6.30 beta 6 is ready !

Post by miso »

Thanks, I'm testing this.
User avatar
minimy
Addict
Addict
Posts: 845
Joined: Mon Jul 08, 2013 8:43 pm
Location: off world

Re: PureBasic 6.30 beta 6 is ready !

Post by minimy »

Thank you very much PB team!
If translation=Error: reply="Sorry, Im Spanish": Endif
miso
Enthusiast
Enthusiast
Posts: 674
Joined: Sat Oct 21, 2023 4:06 pm
Location: Hungary

Re: PureBasic 6.30 beta 6 is ready !

Post by miso »

After the testing period, I have to say that I don't see any problems with the hidlib.
I managed to reverse engineer the vendor defined / undefined raw inputs for my wacom digitalizer + pen.
Without driver, the OS (hidclass.sys) did not provide an entry point, so like the mice/keyboards, only the enumeration was available, but no data.
After installing a driver that took away the handle from the OS and shared the entry point, I was able to get the raw data.
Now it works with all the modifier buttons, touchsliders, pen positions, pen buttons, pressure value, and got a new tool that was not available for me before. Now that's what I call a christmas gift.

Thank you PB Team!
User avatar
thyphoon
Enthusiast
Enthusiast
Posts: 367
Joined: Sat Dec 25, 2004 2:37 pm

Re: PureBasic 6.30 beta 6 is ready !

Post by thyphoon »

I compiled my Loopz Remix game with the latest version (Beta 6) and everything works perfectly. I've been using PureBasic for over 20 years and have never regretted it. I'm less active on the forums than I used to be, but PureBasic remains my favorite language for my small projects. I hope we'll continue to see this language, which I love so much, evolve for a long time. Thanks for everything!
Wolf
Enthusiast
Enthusiast
Posts: 235
Joined: Sat Apr 03, 2004 12:00 pm
Location: S.T

Re: PureBasic 6.30 beta 6 is ready !

Post by Wolf »

waiting for the full version :D
User avatar
mk-soft
Always Here
Always Here
Posts: 6515
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: PureBasic 6.30 beta 6 is ready !

Post by mk-soft »

I waiting for next Beta 7 to test next bug fixed ;)
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Post Reply