offuscate code

offuscate code

Postby lucasdebeltran » Sun Aug 26, 2012 9:15 pm

Hi,

I am improving my protection system and I will like to offuscate the call to IsDebuggerPresent() function:



#include "FiveWin.ch"
//------------------//
FUNCTION Main()


Alert( cValToChar(IsDebuggerPresent())+space(2)+"IsDebug running" ) // Returns either .T. or .F.


Return nil
//-------------------------



DLL32 STATIC FUNCTION IsDebuggerPresent() AS BOOL PASCAL LIB "Kernel32.dll"


Thank you very much!!.
Muchas gracias. Many thanks.

Un saludo, Best regards,

Harbour 3.2.0dev, Borland C++ 5.82 y FWH 13.06 [producción]

Implementando MSVC 2010, FWH64 y ADO.

Abandonando uso xHarbour y SQLRDD.
User avatar
lucasdebeltran
 
Posts: 1303
Joined: Tue Jul 21, 2009 8:12 am

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 114 guests