Search found 242 matches

by DeanH
Thu Sep 04, 2025 7:03 am
Forum: Announcement
Topic: PureBasic 6.30 beta 2 is ready !
Replies: 54
Views: 5376

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 2 is ready !
Replies: 54
Views: 5376

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

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

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: 74
Views: 55960

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: 74
Views: 55960

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

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

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

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

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

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

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 ...
by DeanH
Fri Apr 18, 2025 3:31 am
Forum: Windows
Topic: MessageRequester bug
Replies: 22
Views: 4563

Re: MessageRequester bug

I have both Win 10 and 11 systems. Win 11 is 23H2.

Both behave the same for me, the way BarryG describes.

With #PB_MessageRequesterYesNo the cross is grey and inactive.

With #PB_MessageRequesterYesNoCancel the cross is active and returns a Cancel.

Could it be something to do with 24H2? Or maybe ...
by DeanH
Tue Apr 08, 2025 1:12 am
Forum: Coding Questions
Topic: x86 vs x64
Replies: 18
Views: 1143

Re: x86 vs x64

I make my software available in both 32 and 64 bit flavours. It is a database system and does not use gobs of memory. (Well, maybe several hundred Mb at times.) There is no difference operationally and any difference in speed is so slight a person with a stopwatch might not even pick it up. Some ...
by DeanH
Mon Apr 07, 2025 12:24 am
Forum: Tricks 'n' Tips
Topic: My Own OS Version test [Win Only]
Replies: 14
Views: 1127

Re: My Own OS Version test [Win Only]

For what its worth, here is my take. I have combined code from above. There are two versions of the WinVer procedure. WinVerS() returns a string and WinVer() returns the same number as PureBasic's OSVersion() function. It should work on quite a few versions of PureBasic. Tested on Windows 11 23H2 ...