
How to detect if a debugger is running?
For Win32...
There is an IsDe{*filter*}Present API but I think it is only NT?
I found it in the knowledge base but my Win95 installation
of VC didn't like it:
error C2065: 'IsDe{*filter*}Present' : undeclared identifier
Anyone got any code to do this test? Someone told me to set
the unhandled exception filter and generate an error. Which
confirms the absense of the de{*filter*}, but doesn't help when
it is present. I want to abort if someone tries to run my code
in a de{*filter*}.
Yeah I know - SoftICE is another story altogether. Anyone know
how to detect SoftICE?
Thanks -