Is-it possible to trap a Divide-by-zero error on an INTERRUPT routine of
a Windows 2000 kernel driver?
A "try" and "except" functions works correctly on driver but not in
Interrupt routine.
Thanks for your help.
Pierre-Alain
"Pierre-Alain Oberson" <p-a.ober...@fastware.ch> wrote in message
news:uaTXUnC5...@TK2MSFTNGP14.phx.gbl...
Yep. Kernel and user modes differ, and you just can't do in kernel mode all
things you do in usermode. At least, it is not simple.
--PA
"Pierre-Alain Oberson" <p-a.ober...@fastware.ch> wrote in message
news:OalrMtF5...@TK2MSFTNGP10.phx.gbl...
> This divide by zero is made in an external function! It is not so
> simple!
Change your design to not rely on code that wasn't specifically written to
be used in an ISR. Perhaps you can do the work with the 3rd party library
in a DPC instead.
-cd