ReFox Help - using GETENV

GETENV("ReFox.CryptorX")

application should call this function immediately after activating Cryptor
to restore hooks corrupted by Cryptor,
note: set CryptorX = 0 in ReFox.ini, when using this way of fixing hooks

return value:

    - 1,    if hooks are ok
    - 2,    if hooks were fixed
    - none, if not protected by level III

sample of code for Cryptor 4:
SET LIBRARY TO C40Fox90.fll ADDITIVE
GETENV("ReFox.CryptorX")

sample of code for Cryptor 5:
TOBJ_CRYP = CREATEOBJECT("XitechCryptor.Cryptor")
TOBJ_CRYP.WATCHDLL("VFP9R.DLL")

GETENV("ReFox.CryptorX")

 

GETENV("ReFox.Version")

return value:
    - ReFox version
    - none, if not protected by level III

sample of code:
rexvers = GETENV("ReFox.Version")
IF (LEN(rexvers) = 0)
rexvers = "not protected version"
ELSE
rexvers = "protected: "+rexvers
ENDIF
? rexvers
 

GETENV("ReFox.Brand")

return value:
    - value used for DLL Time Stamp modification
    - none, if not protected by level III

sample of code:
rexbrand = GETENV("ReFox.Brand")
IF (LEN(rexbrand) = 0)
rexbrand = "no brand"
ELSE
rexbrand = "branded: "+rexbrand
ENDIF
? rexbrand

 

GETENV("ReFox.SplashScreen[.{Hide | Fade}[ #hwnd ] ] ")

 
close 'splashscreen'
 Hide - immediately (default)
 Fade
- alpha blending
 hwnd - handle of window to receive focus
 e.g.:
GETENV("ReFox.SplashScreen.Fade#" + STR(_SCREEN.hWnd) )

---
rexgetenv.html