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:
SET LIBRARY TO C40Fox90.fll ADDITIVE
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

 

---
rexgetenv.html