App only runs in Safe Mode of Windows XP

Everything else that doesn't fall into one of the other PB categories.
Dude
Addict
Addict
Posts: 1907
Joined: Mon Feb 16, 2015 2:49 pm

App only runs in Safe Mode of Windows XP

Post by Dude »

A user of one of my apps (Win XP, 32bit) says that my app only runs when his PC is booted in Safe Mode. That is, the app's main loop (which reacts to systray events, etc) apparently doesn't respond in normal mode. He says clicking the systray icon and using the app's hotkey doesn't do anything, but in Safe Mode, it all runs fine and the main loop responds normally. :shock:

How do I even begin to troubleshoot this issue? I have no idea what could be wrong. Also, he's not the first to report it; I've been told it by about 3 other XP users, but this guy is the first to test it in Safe Mode, which works for him. He said he's disabled his anti-virus and anything that could potentially interfere with my app, but they shouldn't be a concern anyway.

Thanks in advance for any generic advice. :)
User avatar
TI-994A
Addict
Addict
Posts: 2771
Joined: Sat Feb 19, 2011 3:47 am
Location: Singapore
Contact:

Re: App only runs in Safe Mode of Windows XP

Post by TI-994A »

Dude wrote:...app only runs when his PC is booted in Safe Mode.
The blocked processes in question could rule out any UAC issues. Offhand, it sounds like a Windows security issue. Some installed security software might be flagging the app and blocking those system processes.

High probability, as PureBasic apps have been victim to false-positives before.
Texas Instruments TI-99/4A Home Computer: the first home computer with a 16bit processor, crammed into an 8bit architecture. Great hardware - Poor design - Wonderful BASIC engine. And it could talk too! Please visit my YouTube Channel :D
User avatar
Lunasole
Addict
Addict
Posts: 1091
Joined: Mon Oct 26, 2015 2:55 am
Location: UA
Contact:

Re: App only runs in Safe Mode of Windows XP

Post by Lunasole »

Dude wrote: Thanks in advance for any generic advice. :)
The most generic is logging, just dump to a log file results of any key functions your app uses on initiation (i.e. CreateWindow and so on), then it should get clear which step fails.
"W̷i̷s̷h̷i̷n̷g o̷n a s̷t̷a̷r"
Post Reply