![]() |
![]() |
#1 |
Oct 2002
23 Posts |
![]()
When EXPLORER restarts due to a crash, the Prime 95 icon is lost
This is a trivial(ish) fix. Can Prime 95 get the fix? At least for shell 4.7 and later. (When will Prime 95 become Prime 2000? or Prime XP? Or Prime .NET ? 8-) ) From a google search on the topic: When the shell version is 4.7 or later, an explorer crash results in a message being broadcast. The message is RegisterWindowMessage('TaskbarCreated'). Look for it in your app's DefaultHandler() method; if you receive it, restore your tray icon. If you must also recover from an explorer crash in older Windows versions (basically Win95 or NT4 without the Windows Desktop Update), it gets more complicated. What I do is get the tray's window handle with FindWindowEx(GetDesktopWindow, 0, 'Shell_TrayWnd', nil), then get its process ID, and open a process handle on that process. I wait on that handle in a thread, and if it is signaled (meaning the process died), I wait for the tray to re-appear, restore the icon, and re-start the WaitFor in the thread. Find an example in the source for one of my tray- based PC Magazine utilities, umm... Reloader or AutoAct will do. Find them at www.pcmag.com/utilities. |
![]() |
![]() |
![]() |
#2 |
P90 years forever!
Aug 2002
Yeehaw, FL
32×911 Posts |
![]()
What version of prime95 are you using. I tried to but in a fix for this in one of the later version 22 betas. I borrowed the code snipet from somewhere but it was near impossible to test on my winxp box.
|
![]() |
![]() |
![]() |
#3 | |
"Sander"
Oct 2002
52.345322,5.52471
100101001012 Posts |
![]() Quote:
Dunno if this is the same with an explorer crash though |
|
![]() |
![]() |
![]() |
#4 |
Aug 2002
Dawn of the Dead
5×47 Posts |
![]()
I'm having a similar problem. With v21, I used firedaemon to handle the service on a multi - user box. I tried changing to v22.8, v22.9 and now v22.10. In the meantime, a bad scanner has partially hosed the box, causing crashes mainly in explorer. Now, on the user accounts, the client window pops up once logged on. Needless to say this box had to be de - primed for the time being.
I suspect part of this problem was allowing the client non administrator access to the system. v22.9 did cause the defrag problem but didn't do anything stupid. When I log in as administrator, ther problem doesn't appear. |
![]() |
![]() |
![]() |
#5 |
Sep 2002
32×13 Posts |
![]()
a similar problem... it was kind of bizar but one of the lab's boxes that I admin had firedaemon on it, and when a user would log on, the prime95 window would refresh every couple seconds making the computer unusable. It looked like there were 4 different versions of Firedaemon running (in task manager) and constantly sending startup commands or something. However, I haven't seen it on another box so I've ignored it until now. (however, short of a complete format, there's little I've tried in terms of reinstalling and changing settings).
|
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Report for PRP | houding | PrimeNet | 15 | 2018-01-10 19:24 |
ECM report | dbaugh | PrimeNet | 23 | 2016-04-11 15:36 |
How to report GPU results | dcorbit | Information & Answers | 4 | 2012-08-13 21:53 |
report not updating ??? | nobody | Information & Answers | 3 | 2012-04-26 14:31 |
How often do you report ? | Axel Fox | Lone Mersenne Hunters | 19 | 2003-10-19 07:40 |