Miscellaneous samples to detect SoftICE:

-noBPX:
======
This is a very simple (and frequent) way to detect if there is
any BPX set within SoftICE. 
This sample shows how to detect a BPX MessageBoxA.
Although any app using this kind of detection could simply crash
SoftICE, it isn't that much powerful: 
=> all you have to do to bypass this trick is to set a "BPX MessageBoxA+1"
or a "BPX MessageBoxA+3"... and no more troubles ;-)

-------------------------------------------------------------------------