AntiDebug LIB Function Reference

GJ_less
GJ_less_demo

 

Syntx

    bool GJ_less(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_less(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.