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
Development
General Development (no feature request here!)
Compiled TvService crashes when tuning
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="mjs" data-source="post: 216946" data-attributes="member: 44241"><p>I had to change the "Target Platform" from "Any CPU" to "x86" to work around this problem. This has the nice side-effect that I can enable native debugging.</p><p></p><p>Anyway, it seems to be a problem in the .NET runtime for x64 and not a problem of MediaPortal's code because IntPtr members don't automatically get an 8-Byte-Alignment. IOW: The AM_MEDIA_TYPE structure has a size of 88 bytes (instead of 80 bytes) on x64 and 72 bytes on x86. Any idea how to fix this problem?</p><p></p><p>EDIT: I just tried to temporarily add two member variables to this structure but this doesn't help either. There seems to be another problem too.</p><p></p><p>Regards,</p><p>Mark</p></blockquote><p></p>
[QUOTE="mjs, post: 216946, member: 44241"] I had to change the "Target Platform" from "Any CPU" to "x86" to work around this problem. This has the nice side-effect that I can enable native debugging. Anyway, it seems to be a problem in the .NET runtime for x64 and not a problem of MediaPortal's code because IntPtr members don't automatically get an 8-Byte-Alignment. IOW: The AM_MEDIA_TYPE structure has a size of 88 bytes (instead of 80 bytes) on x64 and 72 bytes on x86. Any idea how to fix this problem? EDIT: I just tried to temporarily add two member variables to this structure but this doesn't help either. There seems to be another problem too. Regards, Mark [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Compiled TvService crashes when tuning
Contact us
RSS
Top
Bottom