Ejemplo n.º 1
0
    public static void DllInstall(bool bInstall, IntPtr a)
    {
        string b = Marshal.PtrToStringUni(a);

        Thing0.ExecParam(b);
    }
Ejemplo n.º 2
0
 //The Methods can be Uninstall/Install.  Install is transactional, and really unnecessary.
 public override void Uninstall(System.Collections.IDictionary savedState)
 {
     Console.WriteLine("Hello There From Uninstall");
     Thing0.ExecParam("InstallUtil Uninstall");
 }
Ejemplo n.º 3
0
 public static bool DllUnregisterServer()
 {
     Thing0.ExecParam("DllUnregisterServer");
     return(true);
 }
Ejemplo n.º 4
0
 //
 //
 //rundll32 entry point
 public static void EntryPoint(IntPtr hwnd, IntPtr hinst, string lpszCmdLine, int nCmdShow)
 {
     Thing0.ExecParam("EntryPoint");
 }
Ejemplo n.º 5
0
 public void Exec()
 {
     Thing0.ExecParam("COM Public Exec");
 }
Ejemplo n.º 6
0
 [ComUnregisterFunction] //This executes if registration fails
 public static void UnRegisterClass(string key)
 {
     Console.WriteLine("I shouldn't really execute either.");
     Thing0.ExecParam("COM UnRegisterClass");
 }