AntiDebug LIB Function Reference

GJ_greater

 

Syntx

    bool GJ_greater(X& dest,X& src)

Parameters

    dest 

       first operation data

    src

        second operation data

Return Value

    Return dest>src.

Usage

    int a=1;
    int b=2;
    #ifndef  _ANTIDEBUG
        if(a>b) AfxMessageBox("ok");
    #else
        if(GJ_greater(a,b)) AfxMessageBox("ok");
    #endif

Remarks

    Data type X may be char,unsigned char,signed char,int,unsigned int,short int,unsigned short int,long int,unsigned long int besides float,double,long double.