Runtime check for running under debugger?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



I know I can have selective compilation for debug and release versions,
but is there any runtime check I can perform to see if the code is being
run under the debugger?

--
Bert Hyman | St. Paul, MN | bert@xxxxxxxxxxx
.