Page 1 of 1

[Tip] Test your app in Safe Mode

Posted: Tue Jul 13, 2010 1:50 pm
by PB
One thing I just learned about the stability of my apps is to try running them
when Windows is booted in Safe Mode. You'd be amazed what can go wrong
when Windows thinks certain hardware is not installed, or isn't configured.

For example, my app was coded incorrectly and actually crashes when run
on a PC without a sound card. I had no idea until Safe Mode exposed it!
See here: http://www.purebasic.fr/english/viewtop ... =4&t=42882 ;)

Re: [Tip] Test your app in Safe Mode

Posted: Tue Jul 13, 2010 2:47 pm
by dige
Very good hint!

Re: [Tip] Test your app in Safe Mode

Posted: Tue Jul 13, 2010 3:34 pm
by Rook Zimbabwe
I always put in a sounndcard check at the start and if it fails I set a global SOUNDCARDFLAG to #False...

Then in any routine where a sound would play I just check if SOUNDCARDFLAG = #True beofre it plays something... EndIf

:mrgreen: