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
Watch / Listen Media
Television (MyTV frontend and TV-Server)
FireDTV Remote does not work
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="audioPitheco" data-source="post: 374710" data-attributes="member: 88116"><p><strong>FireDTV Remote does not work on VISTA x64</strong></p><p></p><p></p><p></p><p>Mhhh... I think that Digital Everywhere itself loads the FiresatApi.dll </p><p>inside its FireDTVViewer.exe (why duplicating code, in fact) and the </p><p>FireDTV Remote control works fine with the FireDTVViewer.exe in my </p><p>system (64 bit environment).</p><p></p><p>So, there must be something else.</p><p></p><p>I had a look to the Mediaportal source code and I found something interesting:</p><p></p><p>- first:</p><p>this was my first log pointed out by chemelli:</p><p></p><p></p><p>I found that the following code (FireSATControl.cs at Ln64)</p><p>[CODE]</p><p>// First try in MediaPortal's base directory</p><p>string fullDllPath = Config.GetFile(Config.Dir.Base, "FiresatApi.dll");</p><p>if (File.Exists(fullDllPath))</p><p>{</p><p> Log.Info("FireDTV: Using FiresatApi.dll located in MediaPortal's base dir {0}", fullDllPath);</p><p>}</p><p>else</p><p>{</p><p> // Look for Digital Everywhere's software which uses a hardcoded path</p><p> fullDllPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles),</p><p> @"FireDTV\Tools\FiresatApi.dll");</p><p> if (File.Exists(fullDllPath))</p><p> {</p><p> Log.Info("FireDTV: Using FiresatApi.dll located in FireDTV's install path {0}", fullDllPath);</p><p> }</p><p> else</p><p> {</p><p> Log.Error("FireDTV: FiresatApi.dll could not be found on your system!");</p><p> return;</p><p> }</p><p>}[/CODE]</p><p></p><p>in Vista 64 bit fails because the FireDTV 5.3 beta drivers install themselves under the </p><p>default "C:\Program Files" directory (default for every 64 bit full compatible software) </p><p>while Mediaportal installs itself under the default "C:\Program Files (x86)" dir.</p><p></p><p>In fact after having copied the FiresatAPI.dll in the Mediaportal install dir my log </p><p>changed as follows:</p><p></p><p>[CODE]</p><p>2009-02-08 23.45.02.446822 [Info.][Config Main]: FireDTV: Using FiresatApi.dll located in MediaPortal's base dir C:\Program Files (x86)\Team MediaPortal\MediaPortal\FiresatApi.dll</p><p>2009-02-08 23.45.02.462422 [Info.][Config Main]: FireDTV: error initializing Tentativo di caricare un programma con un formato non corretto. (Eccezione da HRESULT: 0x8007000B)</p><p>2009-02-08 23.45.02.462422 [ERROR][Config Main]: FireDTV: error initializing Tentativo di caricare un programma con un formato non corretto. (Eccezione da HRESULT: 0x8007000B)</p><p>[/CODE]</p><p></p><p>Other issue but the dll has been found.</p><p></p><p>Last observation, the FiresatAPI.dll original dir is also provided in the path environment variable.</p><p></p><p>- second:</p><p>Spying the FiresatAPI.dll functions entry points and comparing them (the decorations of their names) </p><p>with them used in the "DLLImport" calls in FireSATDefines.cs, I found differences.</p><p></p><p>I.e:</p><p>- FireSATDefines.cs:</p><p>EntryPoint = "?FS_RegisterGeneralNotifications@@YAKPAUHWND__@@@Z"</p><p>- FiresatAPI.dll:</p><p>EntryPoint = "?FS_RegisterGeneralNotifications@@YAKPEAUHWND__@@@Z"</p><p></p><p>Many others differs by many more characters.</p><p>Is this perhaps due to the fact that I have the latest FiresatAPI.dll (FireDTV 5.3 beta drivers) </p><p>installed while the FireSATDefines.cs code refers to a previous dll version?</p><p></p><p>Anyway, by now I could not go ahead with deeper test because of my development </p><p>environment (I guess): I installed Visual Studio 2008 in my Vista 64 bit (I have only </p><p>VS 2008 and 2003 to install, not 2005) and downloaded the latest codes with svn. The problem </p><p>is that in the same machine I also have the original installation of MP and TVserver so </p><p>the exe that I compile with VS 2008 crashed due to a dll version conflict problem </p><p>(i.e. bass.dll version).</p><p></p><p>Under VS in debugging mode (F5) the run time goes but I cannot (I donno why yet) </p><p>step into some code (set active breackpoints) to see what really happens (need more time to tune the system up).</p><p></p><p>Anyway I hope my feedback will be useful to point out the right holes.</p><p></p><p>Bye</p></blockquote><p></p>
[QUOTE="audioPitheco, post: 374710, member: 88116"] [b]FireDTV Remote does not work on VISTA x64[/b] Mhhh... I think that Digital Everywhere itself loads the FiresatApi.dll inside its FireDTVViewer.exe (why duplicating code, in fact) and the FireDTV Remote control works fine with the FireDTVViewer.exe in my system (64 bit environment). So, there must be something else. I had a look to the Mediaportal source code and I found something interesting: - first: this was my first log pointed out by chemelli: I found that the following code (FireSATControl.cs at Ln64) [CODE] // First try in MediaPortal's base directory string fullDllPath = Config.GetFile(Config.Dir.Base, "FiresatApi.dll"); if (File.Exists(fullDllPath)) { Log.Info("FireDTV: Using FiresatApi.dll located in MediaPortal's base dir {0}", fullDllPath); } else { // Look for Digital Everywhere's software which uses a hardcoded path fullDllPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles), @"FireDTV\Tools\FiresatApi.dll"); if (File.Exists(fullDllPath)) { Log.Info("FireDTV: Using FiresatApi.dll located in FireDTV's install path {0}", fullDllPath); } else { Log.Error("FireDTV: FiresatApi.dll could not be found on your system!"); return; } }[/CODE] in Vista 64 bit fails because the FireDTV 5.3 beta drivers install themselves under the default "C:\Program Files" directory (default for every 64 bit full compatible software) while Mediaportal installs itself under the default "C:\Program Files (x86)" dir. In fact after having copied the FiresatAPI.dll in the Mediaportal install dir my log changed as follows: [CODE] 2009-02-08 23.45.02.446822 [Info.][Config Main]: FireDTV: Using FiresatApi.dll located in MediaPortal's base dir C:\Program Files (x86)\Team MediaPortal\MediaPortal\FiresatApi.dll 2009-02-08 23.45.02.462422 [Info.][Config Main]: FireDTV: error initializing Tentativo di caricare un programma con un formato non corretto. (Eccezione da HRESULT: 0x8007000B) 2009-02-08 23.45.02.462422 [ERROR][Config Main]: FireDTV: error initializing Tentativo di caricare un programma con un formato non corretto. (Eccezione da HRESULT: 0x8007000B) [/CODE] Other issue but the dll has been found. Last observation, the FiresatAPI.dll original dir is also provided in the path environment variable. - second: Spying the FiresatAPI.dll functions entry points and comparing them (the decorations of their names) with them used in the "DLLImport" calls in FireSATDefines.cs, I found differences. I.e: - FireSATDefines.cs: EntryPoint = "?FS_RegisterGeneralNotifications@@YAKPAUHWND__@@@Z" - FiresatAPI.dll: EntryPoint = "?FS_RegisterGeneralNotifications@@YAKPEAUHWND__@@@Z" Many others differs by many more characters. Is this perhaps due to the fact that I have the latest FiresatAPI.dll (FireDTV 5.3 beta drivers) installed while the FireSATDefines.cs code refers to a previous dll version? Anyway, by now I could not go ahead with deeper test because of my development environment (I guess): I installed Visual Studio 2008 in my Vista 64 bit (I have only VS 2008 and 2003 to install, not 2005) and downloaded the latest codes with svn. The problem is that in the same machine I also have the original installation of MP and TVserver so the exe that I compile with VS 2008 crashed due to a dll version conflict problem (i.e. bass.dll version). Under VS in debugging mode (F5) the run time goes but I cannot (I donno why yet) step into some code (set active breackpoints) to see what really happens (need more time to tune the system up). Anyway I hope my feedback will be useful to point out the right holes. Bye [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Watch / Listen Media
Television (MyTV frontend and TV-Server)
FireDTV Remote does not work
Contact us
RSS
Top
Bottom