
) Thanks, sensible advice. I also find it hard to believe my code somehow
corrupted Windows. In our experience, if a customer has done something major
bad (maybe ram the machine into a wall when using a forklift truck) then
they'll try and cover their trails and claim the "machine just went bang" if
they think they can get away with it.
"HeyBub" <(E-Mail Removed)> wrote in message
news:%23UX%(E-Mail Removed)...
> Alain Dekker wrote:
>> Apart from malicious software (eg. virus) or a device driver (which
>> has access to the kernel layer), is it possible for a standard
>> application written in C++ / C#.NET / VB / Delphi / etc to crash
>> and/or corrupt Windows XP?
>>
>> We had one report from a customer who said that due to an accidental
>> coding bug, they saw a "divide by zero" error which not only crashed
>> our software but immediately afterwards Windows rebooted and then
>> failed to restarted (kept locking up and rebooting).
>>
>> If the report is accurate, can user mode level programs do this? Is
>> there any way to prevent this?
>>
>> As a final note, I reproduced the "dive by zero" crash and fixed it.
>> Certainly didn't crash my computer, though. In fact, I've never seen
>> Windows XP do what is reported here.
>>
>
> XP, unlike Win98, is built on the NT model. As such, applications are
> rigorously segregated from the operating system and a crash of an
> application program should not affect the OS. An application program
> causing a system crash is about as likely as a piece of software causing a
> hardware failure. In theory, it IS possible; in practice, extremely
> doubtful.
>
> I'd follow the medical school maxim: "If you hear hoofbeats, think horses,
> not Zebras."
>