| AntiDebug LIB Programming Guide | |
Protect your applications against advanced reverse engineering and software cracking by AntiDebugLIB |
File Name |
Comment |
| Function Library's header file. | |
antidebug.lib |
Function Library file. |
| Gjglly.inf | Driver installation file. |
| gjglly.sys | AntiDebug LIB driver file. |
| install.exe | AntiDebug LIB driver install tool. |
| remove.exe | AntiDebug LIB driver uninstall tool. |
| ADL_Register.EXE | AntiDebug LIB License generate tool and PE file protect tool. |
| AntiDebugLib.CHM | AntiDebug LIB help file. |
(1)antidebug.h and antidebug.lib should be included in the vc project.
(2) install.exe and Gjlly.inf and gjglly.sys must in the same directory.
Windows 2000/XP/2003
Microsoft Visual C++ 6.0
Microsoft Visual Studio 2005.
First of all AntiDebug LIB should be installed,just run the AntiDebug LIB installation programme.
(1)Mouse right click “My Computer”,select “Manage”.

(2) Open "Computer Management" dialog box,click "Device Manager",expand "System devices",mouse right click "AntiDebug LIB",select "Disable".

(1) Open“Microsoft Visual C++ 6.0”,select“File | New” menu command ,popup “New” window,select “Projects”,select “MFC AppWizard(exe)”,confirm the project's name is “antidebug_demo”,and select directory.
(2) In the popup “MFC AppWinzard - Step 1” dialog box,set the type of application to “Single document”.
(3) The follow step “MFC AppWinzard - Step 2 of 6” to “MFC AppWinzard - Step 6 of 6” dialog box,keep the default setting,at last click [Finish] button,popup "New Project Information" dialog box,click "ok" button.
(4) Add two menu command:"Display Hello World !" and "Display Hello AntiDebug !"

The mapped menu command funtion by ClassWizard: void CAntidebug_demoDoc::OnDisplayHelloWorld(),void CAntidebug_demoDoc::OnDisplayHelloAntidebug().
(5) Code as follow:
//Antidebug LIB Demo Code
void CAntidebug_demoDoc::OnDisplayHelloWorld() //share function
{
// TODO: Add your command handler code here
char mess[]="Hello World !";
char buffer[100];
strcpy(buffer,mess);
AfxMessageBox(buffer);
}
void CAntidebug_demoDoc::OnDisplayHelloAntidebug() //no share function
{
// TODO: Add your command handler code here
char mess[]="Hello Antidebug !";
char buffer[100];
strcpy(buffer,mess);
AfxMessageBox(buffer);
}
//Antidebug LIB Demo Code
(6) After finished,antidebug_demo can display two MessageBox :"Hello World" and "Hello AntiDebug",it's free and no License.
(1) Mouse right click “My Computer”,select “Manage”.
(2)
Open "Computer Management" dialog box,click "Device Manager",expand "System devices",mouse right click "AntiDebug LIB",select "Enable".

(3) ... more information click here or here.