Search found 245 matches

by DeanH
Tue Oct 28, 2025 4:43 am
Forum: Coding Questions
Topic: Detecting multiframe GIF
Replies: 2
Views: 155

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: 155

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: 9654

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 beta 4 is ready !
Replies: 105
Views: 17308

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 beta 4 is ready !
Replies: 105
Views: 17308

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: 395

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: 395

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: 62177

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: 62177

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: 1710

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: 1710

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 ...
by DeanH
Fri May 02, 2025 12:19 am
Forum: Announcement
Topic: PureBasic 6.21 is out !
Replies: 169
Views: 40001

Re: PureBasic 6.21 beta 7 is out !

I just noticed the icons displayed with MenuItemImage are no longer a set size. Menubar dropdowns are showing varying size icons. Documentation still says the icons should be 16 x 16. I gather this is a new change.
The icon images in my programs are loaded with
Manualsicon:
IncludeBinary "Stock ...
by DeanH
Wed Apr 30, 2025 12:17 am
Forum: Coding Questions
Topic: Incorrect event gadget response
Replies: 23
Views: 2445

Re: Incorrect event gadget response



Yes, SS_NOTIFY has been added to support tooltip [...]
I hadn't realized that.
Good idea, Fred. Excellent improvement.

@ DeanH : Why would you ever want gadgets to overlap ?
If, in your sample code, they don't overlap, then everything works normally... except for the unwanted firing of an ...
by DeanH
Tue Apr 29, 2025 5:13 am
Forum: General Discussion
Topic: Unneeded data in executable?
Replies: 15
Views: 3463

Re: Unneeded data in executable?

I found the UCRT option on 6.21 Beta 6 in the Compiler Options. It reduced the little MessageRequester program from 150k to 24.6k. That's still a fair bit more than the 6k the PB5.3 and 5.7 and even 6.04 generated. I tried it on my own programs. One module went from 8053k to 7729k, another from ...
by DeanH
Tue Apr 29, 2025 3:02 am
Forum: Coding Questions
Topic: Incorrect event gadget response
Replies: 23
Views: 2445

Incorrect event gadget response

I am not sure this is a bug, but the behaviour is different between PB 6.21 Beta 6 and 6.11. Maybe I missed a change.


OpenWindow(1,0,0,320,200,"Test",#PB_Window_ScreenCentered | #PB_Window_SystemMenu)
TextGadget(10,10,60,320,200,"Close this window",#PB_Text_Center)
ButtonGadget(20,238,170,75,23 ...