Re: tiresome ranting

From: pH (high_at_cidity.level)
Date: 02/13/04


Date: Fri, 13 Feb 2004 17:14:17 -0500

On Fri, 13 Feb 2004 19:48:11 +0100, "The Half A Wannabee"
<ShakainZulu_AT(Nightwish - She Is My Sin (Live).mp3)_Hotmail.com> wrote:

[...]

>PS: My program posted earlier can be used as a tool to crash window 98 on
>purpose ! :-) Sorry about that one. It (seems) runs so smoothly on WinXP
>...so I kind of hoped it would work on 98 also. Guess what ? I does, but
>only when used as a tool to crash it.

Did you preserve regs (ebx, esi, edi) at the start of your window procedure?
You know, the message loop? (you may need to add ebp to that list, as well,
depending.) Given the symptom, I would guess not. It's actually an
*extraordinarily* stupid thing, on Windows' part, to call into an unknown
block of code and not preserve its own registers... something which was
apparently "fixed" with XP. Yes, I ran into this little bug-a-boo myself, and
had *no* idea why it was happening... 'till I read a notice at Hutch's site.

Jeff

http://www.jefftturner.com