Protection API - SDP_DetectDebugger


SDP_DetectDebugger

The SDP_DetectDebugger function is used to detect whether a debugger exist.

  For C++:

        void SDP_DetectDebugger();

  For Delphi:

       procedure SDP_DetectDebugger();

Parameters
This function has no parameters.

Return Values
This function does not return a value.

Remarks
If a debugger is detected, the program will exit.
Example
for C/C++

#include "SDProtector.h"
//...
void CheckRegistraitonStatus() { //... SDP_DetectDebugger();
//...

}
for Delphi

        
procedure CheckRegistraitonStatus;
//... begin //... SDP_DetectDebugger(); //... end;
Sample application is located in \Examples\Delphi\API\ and \Examples\VC\API\ directory.
 
CopyRight(C) 2003 SDProtector.com All Rights Reserved