With Beta 2, Linux now returns an incorrect value for ‘GetGadgetAttribute(PanelNumber, #PB_Panel_ItemHeight)’. This may be related to the fix for the bug ‘Linux: [Done] PB v6.xx ToolBarHeight on Linux’.
The IDE also has a bug in the procedure browser and issues where the icons at the bottom are not ...
Search found 230 matches
- Sat Sep 13, 2025 5:20 pm
- Forum: Announcement
- Topic: PureBasic 6.30 beta 2 is ready !
- Replies: 54
- Views: 5391
- Mon Sep 08, 2025 3:39 pm
- Forum: Bugs - Mac OSX
- Topic: PB 6.30 b1 - GetHIDIndexedString() does not work
- Replies: 12
- Views: 560
Re: PB 6.30 b1 - GetHIDIndexedString() does not work
And how do you get the correct index without reading the device descriptor? How do you know that, for example, zero (0) is not in the field for the serial number if there is none? The index does not always have to be 1, 2, or 3.
Peter
Peter
- Mon Sep 08, 2025 2:54 pm
- Forum: Bugs - Mac OSX
- Topic: PB 6.30 b1 - GetHIDIndexedString() does not work
- Replies: 12
- Views: 560
Re: PB 6.30 b1 - GetHIDIndexedString() does not work
I don't think this function is necessary. It can't be used properly. Where do you get an index? Normally, you read in a descriptor for an interface, for example, and use the index contained therein to determine the corresponding string, e.g., for the manufacturer, serial number, etc. But HID has its ...
- Thu Sep 04, 2025 2:26 pm
- Forum: Announcement
- Topic: PureBasic 6.30 beta 2 is ready !
- Replies: 54
- Views: 5391
Re: PureBasic 6.30 beta 1 is ready !
I just took the exact code in the original documentation with PB4.6, copied that into the 64-bit version of 6.30 beta 1 and changed the two lines. The revised doc should reflect what you have said.
It's interesting that this function already existed in PB v4.61 or earlier. However, the second ...
- Thu Sep 04, 2025 6:49 am
- Forum: Announcement
- Topic: PureBasic 6.30 beta 2 is ready !
- Replies: 54
- Views: 5391
Re: PureBasic 6.30 beta 1 is ready !
Thank you for the update. I have tweaked the original PackerCallback code to work.
With PB x86, you need the Quad data type for the parameters of the callback procedure, otherwise you will get an error message:
[ERROR] PackerCallback(): The Procedure specified in '@ProcedureName()' does not ...
- Wed Sep 03, 2025 3:42 pm
- Forum: Announcement
- Topic: PureBasic 6.30 beta 2 is ready !
- Replies: 54
- Views: 5391
Re: PureBasic 6.30 beta 1 is ready !
I have a tool that makes several HID Brymen BC-86X adapters available on the network. I removed my own HID and Libusb code and replaced it with the new PB HID library. On an old notebook with a Pentium M CPU and Linux LMDE6 32-bit, the tool has now been working flawlessly for several hours.
Peter
Peter
- Tue Sep 02, 2025 12:25 pm
- Forum: Bugs - Windows
- Topic: [Done] PB 6.30b1 - EnableASM generates syntax error
- Replies: 2
- Views: 432
[Done] PB 6.30b1 - EnableASM generates syntax error
PB v6.30b1 x86/x64 Asm-Backend, Windows 7 x64
Within a procedure, EnableASM generates a syntax error or other error messages.
Within a procedure, EnableASM generates a syntax error or other error messages.
Code: Select all
Procedure Test()
EnableASM
DisableASM
EndProcedure
; Line 5: 'EndProcedure' is missing.
- Tue Sep 02, 2025 11:56 am
- Forum: Announcement
- Topic: PureBasic 6.30 beta 2 is ready !
- Replies: 54
- Views: 5391
Re: PureBasic 6.30 beta 1 is ready !
Has EnableASM/DisableASM been removed? I get a syntax error with these commands.
Peter
Peter
- Tue Sep 02, 2025 9:11 am
- Forum: Announcement
- Topic: PureBasic 6.30 beta 2 is ready !
- Replies: 54
- Views: 5391
Re: PureBasic 6.30 beta 1 is ready !
I briefly tested the new HID library with Windows 7 x64 and PB x86. Communication with a Brymen BC-86X adapter for a digital multimeter works.
Peter
EnableExplicit
Define iHidNumber.i
Define fResult.i
Define iResult.i
Define c.i
Dim aaData.a(4 - 1)
Dim aaBuffer.a(3 * 9 - 1)
aaData(0) =$00 ...
Peter
EnableExplicit
Define iHidNumber.i
Define fResult.i
Define iResult.i
Define c.i
Dim aaData.a(4 - 1)
Dim aaBuffer.a(3 * 9 - 1)
aaData(0) =$00 ...
- Thu Jun 12, 2025 5:29 am
- Forum: Game Programming
- Topic: Pure2048
- Replies: 31
- Views: 3988
Re: Pure2048
Can't reproduce this.
If you cancel a move, the points are cancelled and the score goes back to the previous value.
I've tried several times without having the behaviour you're explaining...
I can reproduce the error if more than two fields are merged.
https://www.dreisiebner.at/temp/Pure2048 ...
- Sun May 04, 2025 7:22 am
- Forum: Linux
- Topic: Linux UDP server
- Replies: 4
- Views: 1747
Re: Linux UDP server
You must use the connection from EventClient() for ReceiveNetworkData().
Peter
Peter
- Fri Apr 11, 2025 4:20 pm
- Forum: Coding Questions
- Topic: Problems in Windows with HTTP-REST API Skeleton
- Replies: 20
- Views: 1098
Re: Problems in Windows with HTTP-REST API Skeleton
Your code, even with the last change, works here with Windows 7 x64 and PB v6.21b4 without any problems. I have 10 tabs open in the browser, which update themselves every second. The code does not crash.
Peter
Peter
- Wed Apr 09, 2025 6:56 pm
- Forum: Bugs - IDE
- Topic: not built-in debugger and no console
- Replies: 16
- Views: 3458
Re: not built-in debugger and no console
I have Linux Mint 22.1 Cinnamon here and cannot confirm the error. The example code in the link from PBJim works here without errors. The console or ‘Terminal’ opens and the message is displayed in the debugger.
Peter
PB v6.20/v6.21b4 x64
System:
Kernel: 6.8.0-57-generic arch: x86_64 bits: 64 ...
Peter
PB v6.20/v6.21b4 x64
System:
Kernel: 6.8.0-57-generic arch: x86_64 bits: 64 ...
- Tue Apr 08, 2025 9:40 am
- Forum: Coding Questions
- Topic: PBv621b4 x86 - Error with Prototype and libusb-1
- Replies: 3
- Views: 326
Re: PBv621b4 x86 - Error with Prototype and libusb-1
Thanks for the answer. With PrototypeC it now works under Linux 32-bit.
With Windows 32/64-bit I have to use Prototype, otherwise I get the memory error with PrototypeC.
I have to use the libusb-0 with PrototypeC again.
I don't understand the rules.
But the problem is solved, it is not a PB bug ...
With Windows 32/64-bit I have to use Prototype, otherwise I get the memory error with PrototypeC.
I have to use the libusb-0 with PrototypeC again.
I don't understand the rules.
But the problem is solved, it is not a PB bug ...
- Tue Apr 08, 2025 8:41 am
- Forum: Coding Questions
- Topic: PBv621b4 x86 - Error with Prototype and libusb-1
- Replies: 3
- Views: 326
PBv621b4 x86 - Error with Prototype and libusb-1
PB v6.12/v6.20/v6.21b4 x86, LMDE 6
I use the libusb-1 with Windows 32/64-bit, and with Linux 64-bit and Raspberry PI 64-bit without any problems. When compiling, I can switch between prototypes with OpenLibrary() and ImportC. The assembler and C backend work without errors.
Under Linux 32-bit my ...
I use the libusb-1 with Windows 32/64-bit, and with Linux 64-bit and Raspberry PI 64-bit without any problems. When compiling, I can switch between prototypes with OpenLibrary() and ImportC. The assembler and C backend work without errors.
Under Linux 32-bit my ...