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
Support
Input / Output interfaces
Remotes
IgorPlug+MP
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="troky" data-source="post: 169213" data-attributes="member: 54237"><p>Hi Aaron,</p><p></p><p>I've checked you plugin code from SVN and here are issues:</p><p></p><p>- you are trying to call DoGetInfrared function from dll (IgorPLug.dll) which is indeed girder plugin. correct dll would be IgorUSB.dll that comes with driver and is placed in Windows\ folder</p><p>- IgorUSB.dll is written in Delphi and for some reason it doesn't work with C#... throws exceptions all the time</p><p>- DoGetInfrared function returns timediagram which needs to be converted to code. It is luck to get two exact time diagrams of one key pressed in a row.</p><p></p><p></p><p>Since I have source of IgorUSB.dll I made little utility in Visual C# that reads IR codes and it doesn't need any DLL... it talks directly to driver!</p><p>Porting from Delphi (or C/C++) to C# is really pain for me because this is my firstencounter with C# <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" /></p><p></p><p>So, when I finish that utility I will merge my code with your plugin and that should be fine.</p><p></p><p>Regards,</p><p>Troky</p></blockquote><p></p>
[QUOTE="troky, post: 169213, member: 54237"] Hi Aaron, I've checked you plugin code from SVN and here are issues: - you are trying to call DoGetInfrared function from dll (IgorPLug.dll) which is indeed girder plugin. correct dll would be IgorUSB.dll that comes with driver and is placed in Windows\ folder - IgorUSB.dll is written in Delphi and for some reason it doesn't work with C#... throws exceptions all the time - DoGetInfrared function returns timediagram which needs to be converted to code. It is luck to get two exact time diagrams of one key pressed in a row. Since I have source of IgorUSB.dll I made little utility in Visual C# that reads IR codes and it doesn't need any DLL... it talks directly to driver! Porting from Delphi (or C/C++) to C# is really pain for me because this is my firstencounter with C# ;) So, when I finish that utility I will merge my code with your plugin and that should be fine. Regards, Troky [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Input / Output interfaces
Remotes
IgorPlug+MP
Contact us
RSS
Top
Bottom