Exemplo n.º 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();
        }
Exemplo n.º 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();
 }
Exemplo n.º 3
0
 static Hook()
 {
     cHook = new DeviareLiteInterop.HookLib();
 }