I'm writing some assembly code which should run under windows. for speed I converted one of my float routines to integer (I want to use mmx).
The problem is, that my integer code sometimes (every 5 minutes or so) generates a divide by zero or divide overflow exception.
Under dos I usually solved the problem with a simple interrrupt-handler which just returns to the caller.
Now I want to do exactly this under windows. How do I catch this exception and continue my code?
I'm using c for the OS stuff btw..