Search found 249 matches

by DeanH
Tue Jan 27, 2026 5:11 am
Forum: Announcement
Topic: PureBasic 6.40 alpha 1 is ready, surprise inside !
Replies: 63
Views: 3376

Re: PureBasic 6.40 alpha 1 is ready, surprise inside !

The change to string handling sounds similar to the old BSTR string type. Much faster to read records from a large SQLite database. Question: how is the length stored? Long? Quad? Another way? Does it limit the maximum length of a string?
by DeanH
Tue Dec 16, 2025 11:04 pm
Forum: Announcement
Topic: PureBasic 6.30 is out !
Replies: 183
Views: 44164

Re: PureBasic 6.30 beta 5 is ready !

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 ...
by DeanH
Tue Dec 09, 2025 10:41 pm
Forum: Announcement
Topic: PureBasic 6.30 is out !
Replies: 183
Views: 44164

Re: PureBasic 6.30 beta 5 is ready !


Is it normal that compiling a program now opens a console window?


I have a similar observation. Every time I run source code from the IDE (F5) the console window opens. When I compile the exe, it does not appear during compiling. PureBasic_Compilation0.exe appears in the titlebar. Some other ...
by DeanH
Tue Dec 02, 2025 10:59 pm
Forum: Off Topic
Topic: Can current AI understand PureBasic and....
Replies: 16
Views: 2777

Re: Can current AI understand PureBasic and....

I've been using Claude for over a year. Although generally good, it has not yet generated 100% PB code for me. I frequently find functions that look as if they've come from other languages, particularly Python. But it is certainly better now than a year ago.

I mainly use it for research into ...
by DeanH
Tue Oct 28, 2025 4:43 am
Forum: Coding Questions
Topic: Detecting multiframe GIF
Replies: 2
Views: 669

Re: Detecting multiframe GIF

Yes! That's perfect. I didn't know that function existed. I can check the count before trying a resize. Thank you!
by DeanH
Mon Oct 27, 2025 10:56 pm
Forum: Coding Questions
Topic: Detecting multiframe GIF
Replies: 2
Views: 669

Detecting multiframe GIF

I need to be able to detect if a GIF image file is multiframe or not, to avoid crashing when ResizeImage is used. Does anyone know how to do this?
by DeanH
Sun Sep 28, 2025 11:32 pm
Forum: Bugs - IDE
Topic: Ongoing IDE lockups
Replies: 12
Views: 11073

Re: Ongoing IDE lockups

I have to add to this. Ever since v6 came out I have experienced regular freezing and lockups. Happens on both Windows 10 and 11 on several PC's. I have not been able to work out a trigger other than several files are usually open at the same time. The lockups have happened since 6.01 and every ...
by DeanH
Thu Sep 04, 2025 7:03 am
Forum: Announcement
Topic: PureBasic 6.30 is out !
Replies: 183
Views: 44164

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 ...
by DeanH
Thu Sep 04, 2025 5:12 am
Forum: Announcement
Topic: PureBasic 6.30 is out !
Replies: 183
Views: 44164

Re: PureBasic 6.30 beta 1 is ready !

Thank you for the update. I have tweaked the original PackerCallback code to work. Only had to change two lines.


UseZipPacker()
;UseLZMAPacker()
;UseBriefLZPacker()

; ------------------------------------------------------------
;
; PureBasic - Compressor example file
;
; (c) 2002 - Fantaisie ...
by DeanH
Wed Sep 03, 2025 5:23 am
Forum: Coding Questions
Topic: PB6.30 Beta 1 - #PB_Menu_ModernLook constant not found
Replies: 2
Views: 595

Re: PB6.30 Beta 1 - #PB_Menu_ModernLook constant not found

Upon rechecking, it was not 6.21. This bug report can be withdrawn.
by DeanH
Wed Sep 03, 2025 5:01 am
Forum: Coding Questions
Topic: PB6.30 Beta 1 - #PB_Menu_ModernLook constant not found
Replies: 2
Views: 595

PB6.30 Beta 1 - #PB_Menu_ModernLook constant not found

Code: Select all

CreatePopupImageMenu(1,#PB_Menu_ModernLook)
Generates a "Constant not found" error when compiling ASM.

6.30 beta 1 x64.

No error with 6.21.

// Moved from "Bugs - Windows" to "Coding Questions" (Kiffi)
by DeanH
Wed Jul 30, 2025 3:22 am
Forum: Off Topic
Topic: Good PAID Software -- Your Favorites
Replies: 81
Views: 71143

Re: Good PAID Software -- Your Favorites



Regardless of what Microsoft wants, my employer now only provides laptops to programmers and applications support people (like myself) that have a single 256Gb SSD. No desktops allowed. (They do allow docs.) Special application is needed for anything else, and from personal experience, they ...
by DeanH
Mon Jul 21, 2025 12:20 am
Forum: Off Topic
Topic: Good PAID Software -- Your Favorites
Replies: 81
Views: 71143

Re: Good PAID Software -- Your Favorites



Who doesn't have at least a 1TB drive these days?
It's a mistake to assume everybody has oodles of space free, even in 2025

Why? MS assumes you do, and they assume it all belongs to them to do with as they wish, copy it all to their cloud, sell it, whatever they want. Mutant SOBs that they ...
by DeanH
Fri Jul 11, 2025 5:27 am
Forum: Feature Requests and Wishlists
Topic: Packer should return progress
Replies: 13
Views: 2365

Re: Packer should return progress

I can't remember / locate where I obtained the 7-zip dll files. The thread here called "Using 7Zip.dll in UNICODE [Resolved]" helped. A date of 2006 appears in a txt file along with the name Akita Minoru. I have both 32-bit and 64-bit versions. A Google search turned up many download sources. A ...
by DeanH
Wed Jul 09, 2025 6:58 am
Forum: Feature Requests and Wishlists
Topic: Packer should return progress
Replies: 13
Views: 2365

Re: Packer should return progress

I thought this was not possible so had been removed. If it can be done, please add my +100 vote. I found reference to the old PackerCallback in version 4.61. It was discontinued in PB 5. The lack of this feature is the main reason I use 7-zip and LHA dll's instead. They show a progressbar. Lets the ...