示例#1
0
        //--------

        static Program()
        {
            //USE THIS METHOD. Clarification: .Net initializes constructors and fields upon demand and NOT in
            //                                the C/C++ way. Because this constructor runs "before" Main,
            //                                DeviareLite internal hooks are properly installed before the Main
            //                                method is compiled by the JIT.
            cHook = new DeviareLiteInterop.HookLib();
        }
示例#2
0
 //--------
 static Program()
 {
     //USE THIS METHOD. Clarification: .Net initializes constructors and fields upon demand and NOT in
     //                                the C/C++ way. Because this constructor runs "before" Main,
     //                                DeviareLite internal hooks are properly installed before the Main
     //                                method is compiled by the JIT.
     cHook = new DeviareLiteInterop.HookLib();
 }
示例#3
0
 static Hook()
 {
     cHook = new DeviareLiteInterop.HookLib();
 }