Page 1 of 1
ProGUI - CreateToolBarEx fails in PB 6.10
Posted: Mon Jan 15, 2024 6:47 am
by wombats
Obviously I can’t share any of the ProGUI source here, but since PB 6.10, its MenuEx and ToolbarEx don’t work anymore. CreateToolBar is used in CreateToolbarEx and fails for some reason. Does anyone have any suggestions? I have emailed Chris, but I thought I’d ask here as well.
Re: ProGUI - CreateToolBarEx fails in PB 6.10
Posted: Sat May 04, 2024 4:16 pm
by metalos
Hi wombats, you managed to find a solution to the problem. For me, the ToolBarEx works well but it's the MenuEx that crashes with invalid memory access.
Re: ProGUI - CreateToolBarEx fails in PB 6.10
Posted: Tue May 07, 2024 2:14 am
by wombats
I wasn't able to find a solution, so I'm still using PB 6.04 on Windows. I think it might be to do with the use of .l in ProGUI, but when I try changing them, it crashes in other places.
Re: ProGUI - CreateToolBarEx fails in PB 6.10
Posted: Sun May 19, 2024 11:19 pm
by Zach
Have you tried emailing or messaging Chris for support? He's usually pretty responsive
support@progui.co.uk
https://www.purebasic.fr/english/member ... ile&u=1976
Re: ProGUI - CreateToolBarEx fails in PB 6.10
Posted: Wed May 22, 2024 6:36 am
by wombats
I have. I suspect he's just too busy with v3. Hopefully that offers what v1 has as I don't need anything extra in ProGUI, necessarily, but I do want to use the latest PB version.
Re: ProGUI - CreateToolBarEx fails in PB 6.10
Posted: Tue May 28, 2024 4:01 pm
by metalos
I contacted Chris but he is quite busy on version 3 of ProGui. So has anyone managed to find a solution? All my program is based on ProGui 1.41 and I really need to use PB 6.10.
Re: ProGUI - CreateToolBarEx fails in PB 6.10
Posted: Fri Jun 21, 2024 5:49 am
by wombats
I can get it to not crash my program by changing the type of "id" in CreateToolbarEx to an integer instead of a long, but then the toolbar isn't created at all. I am wondering if it's to do with the use of longs throughout ProGUI that doesn't work well in PureBasic 6.10 and above. I don't think I can figure it out entirely.
Re: ProGUI - CreateToolBarEx fails in PB 6.10
Posted: Fri Jun 21, 2024 5:56 am
by BarryG
metalos wrote: Tue May 28, 2024 4:01 pmI contacted Chris but he is quite busy on version 3 of ProGui.
Is that what he said?

You paid for ProGUI, right?
Re: ProGUI - CreateToolBarEx fails in PB 6.10
Posted: Fri Jun 21, 2024 5:58 am
by wombats
wombats wrote: Fri Jun 21, 2024 5:49 am
I can get it to not crash my program by changing the type of "id" in CreateToolbarEx to an integer instead of a long, but then the toolbar isn't created at all. I am wondering if it's to do with the use of longs throughout ProGUI that doesn't work well in PureBasic 6.10 and above. I don't think I can figure it out entirely.
Update...I changed pretty much every ID I found in ProGUI.pb to an integer instead of a long and now the ToolbarEx and MenuEx are created, but I'm still getting crashes.
Re: ProGUI - CreateToolBarEx fails in PB 6.10
Posted: Sat Jul 20, 2024 1:00 am
by PrincieD
Hi guys, I'm currently working on a fix for this - please bare with me!
Chris.
Re: ProGUI - CreateToolBarEx fails in PB 6.10
Posted: Sun Jul 21, 2024 4:45 pm
by PrincieD
Fixed!
https://www.progui.co.uk/downloads/ProGUI.zip
https://www.progui.co.uk/downloads/ProGUI_Examples.zip
If you have a Gold or Platinum licence and haven't received an email from me please private message me.
Cheers!
Chris.