There still is, in PureBasic_install_dir/SDK/PureUnit. It works quite nicely, and I use it to unit test all my libraries. Fred also posted an interesting blog post about how they use it within the PureBasic internals.DarkDragon wrote: Mon Jul 22, 2024 6:51 am Yeah you actually have to understand your own code. Or you could do unit testing. Wasn't there some PureUnit or so somewhen?
[SOLVED] ListIconGadget was working fine now is blank/empty
Re: ListIconGadget was working fine now is blank/empty
-
- Addict
- Posts: 989
- Joined: Sun Jul 25, 2004 4:21 pm
- Location: USoA
Re: ListIconGadget was working fine now is blank/empty
Do you really think that will fix all compatibility issues, from 5.40 up to 6.11?
- - - - - - - - - - - - - - - -
Randy
I *never* claimed to be a programmer.
Randy
I *never* claimed to be a programmer.
-
- Addict
- Posts: 989
- Joined: Sun Jul 25, 2004 4:21 pm
- Location: USoA
Re: ListIconGadget was working fine now is blank/empty
BarryG!!!!
You're still here! Maybe I could impose on you once again. I lost my F1 help on Windows APIs again after the Disk Image Restore. Wondering if you could help me out again.

- - - - - - - - - - - - - - - -
Randy
I *never* claimed to be a programmer.
Randy
I *never* claimed to be a programmer.
Re: ListIconGadget was working fine now is blank/empty
I've seen many topics just like this one from people with weird bugs in PB 6.1x, like the mouse wheel not working, or this. Every time, the solution has been longs instead of ints in the wrong place (to be clear LONGS ARE STILL NEEDED sometimes when calling the Windows API). I'd say there's a good chance at least, yes.Randy Walker wrote: Mon Jul 22, 2024 5:57 pmDo you really think that will fix all compatibility issues, from 5.40 up to 6.11?
Re: ListIconGadget was working fine now is blank/empty
Are you perhaps talking about this? It's in CHM format and not the most up-to-date ,but I use it when writing BCX codeRandy Walker wrote: Mon Jul 22, 2024 6:06 pm BarryG!!!!You're still here! Maybe I could impose on you once again. I lost my F1 help on Windows APIs again after the Disk Image Restore. Wondering if you could help me out again.
-
- Addict
- Posts: 989
- Joined: Sun Jul 25, 2004 4:21 pm
- Location: USoA
Re: ListIconGadget was working fine now is blank/empty
So it's even going to fix issues where oldKeyword has been replaced with newKeyword, and where keyword syntax has changed?Quin wrote: Mon Jul 22, 2024 7:53 pmI'd say there's a good chance at least, yes.Randy Walker wrote: Mon Jul 22, 2024 5:57 pmDo you really think that will fix all compatibility issues, from 5.40 up to 6.11?

- - - - - - - - - - - - - - - -
Randy
I *never* claimed to be a programmer.
Randy
I *never* claimed to be a programmer.
Re: ListIconGadget was working fine now is blank/empty
No, changing the type of a variable won't fix all your code... but this topic was about a "bug" that's fixable by doing so, and we've never seen your source code so have no idea what keywords you useRandy Walker wrote: Mon Jul 22, 2024 9:18 pm So it's even going to fix issues where oldKeyword has been replaced with newKeyword, and where keyword syntax has changed?I don't think so. Simple for you to move your code into a newer release, maybe, but not simple for me.

-
- Addict
- Posts: 989
- Joined: Sun Jul 25, 2004 4:21 pm
- Location: USoA
Re: ListIconGadget was working fine now is blank/empty
I don't recall or see any evidence that I mentioned anything about "a bug". Maybe you can point that out to me.Quin wrote: Mon Jul 22, 2024 9:36 pmNo, changing the type of a variable won't fix all your code... but this topic was about a "bug"Randy Walker wrote: Mon Jul 22, 2024 9:18 pm So it's even going to fix issues where oldKeyword has been replaced with newKeyword, and where keyword syntax has changed?I don't think so. Simple for you to move your code into a newer release, maybe, but not simple for me.
- - - - - - - - - - - - - - - -
Randy
I *never* claimed to be a programmer.
Randy
I *never* claimed to be a programmer.
-
- Addict
- Posts: 989
- Joined: Sun Jul 25, 2004 4:21 pm
- Location: USoA
Re: ListIconGadget was working fine now is blank/empty
No, that's not it. I suppose I should have posted this link earlier for reference. (must have been thinking your memory was more peefect than mineQuin wrote: Mon Jul 22, 2024 7:54 pmAre you perhaps talking about this? It's in CHM format and not the most up-to-date ,but I use it when writing BCX codeRandy Walker wrote: Mon Jul 22, 2024 6:06 pm BarryG!!!!You're still here! Maybe I could impose on you once again. I lost my F1 help on Windows APIs again after the Disk Image Restore. Wondering if you could help me out again.

https://www.purebasic.fr/english/viewto ... t=win32hlp
You described it as "a batch file that you run as admin, and includes the original "winhlp32.exe" file"
- - - - - - - - - - - - - - - -
Randy
I *never* claimed to be a programmer.
Randy
I *never* claimed to be a programmer.
-
- Addict
- Posts: 989
- Joined: Sun Jul 25, 2004 4:21 pm
- Location: USoA
Re: ListIconGadget was working fine now is blank/empty
Randy Walker wrote: Mon Jul 22, 2024 4:28 amSimilar comments appear several times so I just want to make it clear. First lets look at the subject line; "ListIconGadget was working fine now is blank/empty" -- No mention of API there. I was speculating that ListIconGadget was a wrapper for a Windows API -- I did not say I was using a Windows API. In fact I did say I had used the ListIconGadget keyword. And later even posted the entire line as seen again here;mk-soft wrote: Sat Jul 20, 2024 11:11 am I think it's more likely that it's the Windows API you're using that works differently under Win 11.
Which API did you use? It will not be due to the PureBasic functions.I did say I thought maybe the PB wrapper for the windows API or the API itself got broken. Again, no mention of any bug.Code: Select all
CustList0.l = ListIconGadget(#CustList_0, 5, 33, lastLook_wW.l - 7 - SM_CXtotal, lastLook_wH.l - 344 - SM_CYtotal, " Parent Co.", Col0_0, #PB_ListIcon_FullRowSelect | #PB_ListIcon_AlwaysShowSelection | #PB_ListIcon_GridLines | #PB_ListIcon_MultiSelect)
I also said thanks for reading.
- - - - - - - - - - - - - - - -
Randy
I *never* claimed to be a programmer.
Randy
I *never* claimed to be a programmer.
Re: ListIconGadget was working fine now is blank/empty
Updated the link for you -> https://www.purebasic.fr/english/viewto ... 05#p602705Randy Walker wrote: Mon Jul 22, 2024 6:06 pmBarryG!!!!You're still here! Maybe I could impose on you once again. I lost my F1 help on Windows APIs again after the Disk Image Restore. Wondering if you could help me out again.
I don't know where else to host it online permanently.

-
- Addict
- Posts: 989
- Joined: Sun Jul 25, 2004 4:21 pm
- Location: USoA
Re: ListIconGadget was working fine now is blank/empty
Thanks BarryG!!! You saved my life againBarryG wrote: Tue Jul 23, 2024 1:44 amUpdated the link for youRandy Walker wrote: Mon Jul 22, 2024 6:06 pmBarryG!!!!You're still here! Maybe I could impose on you once again. I lost my F1 help on Windows APIs again after the Disk Image Restore. Wondering if you could help me out again.
I don't know where else to host it online permanently.![]()

Sorry I can't recommend a permanent hoster.
- - - - - - - - - - - - - - - -
Randy
I *never* claimed to be a programmer.
Randy
I *never* claimed to be a programmer.
-
- Addict
- Posts: 989
- Joined: Sun Jul 25, 2004 4:21 pm
- Location: USoA
Re: ListIconGadget was working fine now is blank/empty
BarryG !!! I'm lost
Unfortunately the bat file didn't do the trick this time. My F1 key in JaPBe on an API command still does not bring up help.

- - - - - - - - - - - - - - - -
Randy
I *never* claimed to be a programmer.
Randy
I *never* claimed to be a programmer.