FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour offuscate code
Posts: 1303
Joined: Tue Jul 21, 2009 08:12 AM
offuscate code
Posted: Sun Aug 26, 2012 09: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.

Continue the discussion