From: <an...@us...> - 2008-04-18 03:53:17
|
Revision: 1660 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=1660&view=rev Author: and-81 Date: 2008-04-17 20:53:16 -0700 (Thu, 17 Apr 2008) Log Message: ----------- Modified Paths: -------------- trunk/plugins/IR Server Suite/Documentation/new.html trunk/plugins/IR Server Suite/Input Service/Input Service/InputServiceInstaller.cs Modified: trunk/plugins/IR Server Suite/Documentation/new.html =================================================================== --- trunk/plugins/IR Server Suite/Documentation/new.html 2008-04-17 23:58:02 UTC (rev 1659) +++ trunk/plugins/IR Server Suite/Documentation/new.html 2008-04-18 03:53:16 UTC (rev 1660) @@ -75,9 +75,17 @@ <LI>Translator: Fixed a bug with the tray icon not re-appearing correctly after being hidden.</LI> <LI>Installer: Fixed an x64 bug.</LI> <LI>Translator: Fixed an x64 bug.</LI> +<LI>Input Service: Now enables "Interact with desktop" setting for service, this should get MCE Replacement Driver users the ability to use the Remote Keyboard properly.</LI> +</UL></P> +<BR> +<!-- +<P>Known Issues (1.4.2): +<UL> +<LI>Standby and Resume with some MCE remote setups is crashing the Input Service.</LI> </UL></P> <BR> +--> <P>Version 1.0.4.1 <UL> Modified: trunk/plugins/IR Server Suite/Input Service/Input Service/InputServiceInstaller.cs =================================================================== --- trunk/plugins/IR Server Suite/Input Service/Input Service/InputServiceInstaller.cs 2008-04-17 23:58:02 UTC (rev 1659) +++ trunk/plugins/IR Server Suite/Input Service/Input Service/InputServiceInstaller.cs 2008-04-18 03:53:16 UTC (rev 1660) @@ -23,8 +23,8 @@ /// </summary> public InputServiceInstaller() { - //this.Committing += new InstallEventHandler(InputServiceInstaller_Committing); - this.AfterInstall += new InstallEventHandler(InputServiceInstaller_AfterInstall); + this.Committing += new InstallEventHandler(InputServiceInstaller_Committing); + //this.AfterInstall += new InstallEventHandler(InputServiceInstaller_AfterInstall); ServiceProcessInstaller serviceProcessInstaller = new ServiceProcessInstaller(); ServiceInstaller serviceInstaller = new ServiceInstaller(); @@ -49,23 +49,20 @@ /// </summary> void InputServiceInstaller_AfterInstall(object sender, InstallEventArgs e) { - - // TODO: Set the restart options. - - + // TODO: Set the restart options here. + // Start the service ... //using (ServiceController serviceController = new ServiceController(Program.ServiceName)) //serviceController.Start(); } - /* /// <summary> /// Used to set the "Allow service to interact with the desktop" setting. /// </summary> void InputServiceInstaller_Committing(object sender, InstallEventArgs e) { - ManagementBaseObject InParam = null; - ManagementBaseObject OutParam = null; + ManagementBaseObject inParam = null; + ManagementBaseObject outParam = null; try { @@ -79,9 +76,9 @@ using (ManagementObject wmiService = new ManagementObject(path)) { - InParam = wmiService.GetMethodParameters("Change"); - InParam["DesktopInteract"] = true; - OutParam = wmiService.InvokeMethod("Change", InParam, null); + inParam = wmiService.GetMethodParameters("Change"); + inParam["DesktopInteract"] = true; + outParam = wmiService.InvokeMethod("Change", inParam, null); } } catch @@ -90,14 +87,14 @@ } finally { - if (InParam != null) - InParam.Dispose(); + if (inParam != null) + inParam.Dispose(); - if (OutParam != null) - OutParam.Dispose(); + if (outParam != null) + outParam.Dispose(); } } - */ + } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |