PB6.03b1 and Windows XP

Working on new editor enhancements?
Mesa
Enthusiast
Enthusiast
Posts: 433
Joined: Fri Feb 24, 2012 10:19 am

PB6.03b1 and Windows XP

Post by Mesa »

I was able to find the reason for the crash of my IDE PB603. :D

This IDE no longer crashes since I removed the "Explorer" tab from the Toolspanel.
=> File\Preferences...\Toolspanel\

But If I launch this "Explorer" from the "Tools\Explorer" menu, it crashes the IDE. :(

M.
Last edited by Mesa on Wed Jun 14, 2023 5:45 pm, edited 1 time in total.
Mesa
Enthusiast
Enthusiast
Posts: 433
Joined: Fri Feb 24, 2012 10:19 am

Re: PB6.03b1 and Windows XP

Post by Mesa »

THE SOLUTION:

After multiple searches, I found one path to be wrong (it was my first intution).

Download the IDE source code (zip) from https://github.com/fantaisie-software/purebasic

Open purebasic-devel\PureBasicIDE\Explorer.pb
Line 168: ExplorerListGadget(#GADGET_Explorer, 0, 0, 0, 0, ExplorerPath$+StringField(ExplorerPatternStrings$, ExplorerPattern+1, "|"), #PB_Explorer_MultiSelect | #PB_Explorer_AutoSort | #PB_Explorer_FullRowSelect | ExtraFlags)

After a debug session, i found that the ExplorerPath$ variable was wrong.
Maybe because I have several installations of PB, on several discs!

The solution was to open the %AppData/PureBasic/PureBasic.prefs file, go to the "Explorer" section and change the "Path" key, until it worked.

M.
Post Reply