Page 1 of 1
Crash on start up
Posted: Sun Dec 09, 2012 11:48 am
by Justin
Hi, the program worked but suddendly started to crash always on start up, i tried to reinstall(without unistall) with no luck.
A program error was detected:
Error message: Invalid memory access
Error code: -1073741819
Code address: 4762749
Target address: 32
XP SP3 32bit
PB 5.00
Re: Crash on start up
Posted: Sun Dec 09, 2012 12:54 pm
by Polo
Apparently this is due to a problem in the preference file, which is located in the Appdata folder in Windows.
Sorry for that!
Re: Crash on start up
Posted: Thu Dec 20, 2012 12:48 pm
by paulr
I have the same crash-on-startup problem...
Background
The PB5 Demo worked fine for me, but when I uninstalled it and replaced it with the full version, the Form Designer stopped working.
Symptoms
I'm using windows XP. When I click Tools -> Visual Designer, a tab opens in the taskbar with the title 'Form Designer 5.00 beta 3', but no window appears. If I right click on it the 'close' option is there but all the others (restore, move etc) are greyed out. If I click close I get a 'not responding' window, and if I click 'end now' after a few seconds I get the crash window asking me to tell Microsoft about my problem.
Attempts to fix
I've made the following attempts to fix it but none have worked:
Uninstalling and reinstalling PureBasic.
Deleting everything in %APPDATA%\Purebasic and restarting.
Deleting registry references to PureBasic and reinstalling.
Reinstalling the Demo version. It doesn't work either now.
I'm stumped. Can anyone help?
Re: Crash on start up
Posted: Thu Dec 20, 2012 1:55 pm
by IdeasVacuum
Apparently this is due to a problem in the preference file
...that error also occurs when the Form Designer has been minimised to the task bar for a while - what value in the preference file is actually at fault? Also, which preference file is it exactly Polo - can't find one for Form Designer specifically, only PureBasic.prefs, Templates.prefs and Tools.prefs

Re: Crash on start up
Posted: Thu Dec 20, 2012 2:00 pm
by ts-soft
IdeasVacuum wrote:Also, which preference file is it exactly Polo - can't find one for Form Designer specifically, only PureBasic.prefs, Templates.prefs and Tools.prefs

Code: Select all
Debug GetEnvironmentVariable("APPDATA") + "\gdpcomputing\formdesigner\settings.prefs"

Re: Crash on start up
Posted: Thu Dec 20, 2012 2:10 pm
by IdeasVacuum
...ah, expected it to be in the PureBasic folder. So, here we go:
Code: Select all
[Misc]
PBAny = 0
CaptionVariable = 0
GridVisible = 1
GridSize = 10
LeftPanel = 385
PanelPos = 1
Language = English
Form_OS = 1
Form_OSVersion = 7
NumCustGadgets = 0
WindowMax = 0
LeftPanel2 = 389
WindowKeepPos = 1
WindowX = 1280
WindowY = 0
WindowW = 1271
WindowH = 968
GenEventProc = 1
GenEventLoop = 1
...it all looks innocent? WindowX is 1280 because Form Designer is on Monitor 2.
Re: Crash on start up
Posted: Thu Dec 20, 2012 3:33 pm
by Polo
Not sure what's wrong here, will be fixed in next version anyway
