home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
New Versions of InputDeviceMapper of LiveDriveIR
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Mr.Mitchell" data-source="post: 12786" data-attributes="member: 10300"><p>I am working on a X10 deviceplugin and I got it kinda working. When using the wizard to learn everything is OK, but if I learn a command by pressing the "Learn Command" button I get an exception. When just continueing and ignoring the exception I can still learn commands. When I use the plugin in MP it works fine.</p><p></p><p>The exact steps to reproduce are:</p><p></p><p>- Press "Learn Command" button</p><p>- Press button on the remote</p><p>- New window comes up, fill in name and action/key</p><p>- Press Save</p><p>- Exception occurs (the exception text is at the bottom of this message)</p><p></p><p><strong>EDIT: I found that the same exception occurs when I press a button on the remote when the Setup screen for the mapper is visible, so ths also gives the exception:</strong></p><p></p><p>- Start configuration.exe</p><p>- Goto plugins and open the Setup for the InputDeviceEventMapper plugin</p><p>- Press key on the remote</p><p>- Exception occurs</p><p></p><p>It's probably some problem with my DevicePlugin, but I don't know what the problem could be. Any ideas.</p><p></p><p>Also have a few suggestions.</p><p>- It would be nice to have a way to "import" all the keys that are used in keymap.xml in one go. Right now I added the keys manually and I forgot a few. It would be nice if I could just press "Get keys from Keymap.xml" and then the keys list would be filled automatically.</p><p>- Have to go now, other suggestions will follow <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p>[code]************** Exception Text **************</p><p>System.Runtime.InteropServices.SEHException: External component has thrown an exception.</p><p> at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)</p><p> at System.Windows.Forms.ComponentManager.System.Windows.Forms.UnsafeNativeMethods+IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)</p><p> at System.Windows.Forms.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)</p><p> at System.Windows.Forms.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)</p><p> at System.Windows.Forms.Application.RunDialog(Form form)</p><p> at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)</p><p> at InputDeviceMapper.InputDeviceMapperSetupForm.butAddMapping_Click(Object sender, EventArgs e)</p><p> at System.Windows.Forms.Control.OnClick(EventArgs e)</p><p> at System.Windows.Forms.Button.OnClick(EventArgs e)</p><p> at System.Windows.Forms.Button.WndProc(Message& m)</p><p> at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)</p><p> at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)</p><p> at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)[/code]</p></blockquote><p></p>
[QUOTE="Mr.Mitchell, post: 12786, member: 10300"] I am working on a X10 deviceplugin and I got it kinda working. When using the wizard to learn everything is OK, but if I learn a command by pressing the "Learn Command" button I get an exception. When just continueing and ignoring the exception I can still learn commands. When I use the plugin in MP it works fine. The exact steps to reproduce are: - Press "Learn Command" button - Press button on the remote - New window comes up, fill in name and action/key - Press Save - Exception occurs (the exception text is at the bottom of this message) [b]EDIT: I found that the same exception occurs when I press a button on the remote when the Setup screen for the mapper is visible, so ths also gives the exception:[/b] - Start configuration.exe - Goto plugins and open the Setup for the InputDeviceEventMapper plugin - Press key on the remote - Exception occurs It's probably some problem with my DevicePlugin, but I don't know what the problem could be. Any ideas. Also have a few suggestions. - It would be nice to have a way to "import" all the keys that are used in keymap.xml in one go. Right now I added the keys manually and I forgot a few. It would be nice if I could just press "Get keys from Keymap.xml" and then the keys list would be filled automatically. - Have to go now, other suggestions will follow :-) [code]************** Exception Text ************** System.Runtime.InteropServices.SEHException: External component has thrown an exception. at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg) at System.Windows.Forms.ComponentManager.System.Windows.Forms.UnsafeNativeMethods+IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData) at System.Windows.Forms.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context) at System.Windows.Forms.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context) at System.Windows.Forms.Application.RunDialog(Form form) at System.Windows.Forms.Form.ShowDialog(IWin32Window owner) at InputDeviceMapper.InputDeviceMapperSetupForm.butAddMapping_Click(Object sender, EventArgs e) at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)[/code] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
New Versions of InputDeviceMapper of LiveDriveIR
Contact us
RSS
Top
Bottom