mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software

Reply
 
Thread Tools
Old 2002-10-12, 00:19   #1
remaker
 
Oct 2002

23 Posts
Default Bug report

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.
remaker is offline   Reply With Quote
Old 2002-10-12, 01:22   #2
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

32×911 Posts
Default

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.
Prime95 is online now   Reply With Quote
Old 2002-10-12, 18:45   #3
smh
 
smh's Avatar
 
"Sander"
Oct 2002
52.345322,5.52471

100101001012 Posts
Default

Quote:
....but it was near impossible to test on my winxp box.
When i kill explorer (from task manager) and start a new task (explorer) my prime95 icon comes back into the systray.

Dunno if this is the same with an explorer crash though
smh is offline   Reply With Quote
Old 2002-10-17, 01:27   #4
PageFault
 
PageFault's Avatar
 
Aug 2002
Dawn of the Dead

5×47 Posts
Default

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.
PageFault is offline   Reply With Quote
Old 2002-10-17, 08:18   #5
Deamiter
 
Deamiter's Avatar
 
Sep 2002

32×13 Posts
Default

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).
Deamiter is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
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

All times are UTC. The time now is 21:12.


Fri Mar 31 21:12:49 UTC 2023 up 225 days, 18:41, 0 users, load averages: 0.60, 0.72, 0.77

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎𝜍 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔