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!)
Starting work on Techno Trend Premium support
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="JMS" data-source="post: 44376" data-attributes="member: 13261"><p>Hi drak,</p><p></p><p>just a side note (not related to your current post but to the project): triggered by some other discussion in some other forum yesterday I took a short look into the code for your core filter. I recognized that you are using the TTDVBACC.DLL in the current version (which is C++.NET 2003 based) from inside the C++ 2005 code. Did you make sure that all structures / classes you are using fit in size (just to avoid very very hard to detect crashes in the future)? What I mean is: you create (new) a C++ class in C++ 2005 using a C++.NET 2003 header. If in C++ some member of the class is smaller (e.g. CFile, CString, ... - MFC stuff) than for C++.NET 2003 fewer memory will be allocated and memory will get corrupted over time. In some rare situations (inline access to members) even the other way around may produce trouble.</p><p></p><p>In DVB.NET you'll find one class (LegacySizes or so) with all the C++.NET 2003 sizes reported from the compilers sizeof(). You should take a few minutes to get the C++ 2005 values and compare it for those classes you use. In fact getting the same size is not bullet-proof but far along 99% of safeness.</p><p></p><p>Just a hint</p><p></p><p>Jochen</p></blockquote><p></p>
[QUOTE="JMS, post: 44376, member: 13261"] Hi drak, just a side note (not related to your current post but to the project): triggered by some other discussion in some other forum yesterday I took a short look into the code for your core filter. I recognized that you are using the TTDVBACC.DLL in the current version (which is C++.NET 2003 based) from inside the C++ 2005 code. Did you make sure that all structures / classes you are using fit in size (just to avoid very very hard to detect crashes in the future)? What I mean is: you create (new) a C++ class in C++ 2005 using a C++.NET 2003 header. If in C++ some member of the class is smaller (e.g. CFile, CString, ... - MFC stuff) than for C++.NET 2003 fewer memory will be allocated and memory will get corrupted over time. In some rare situations (inline access to members) even the other way around may produce trouble. In DVB.NET you'll find one class (LegacySizes or so) with all the C++.NET 2003 sizes reported from the compilers sizeof(). You should take a few minutes to get the C++ 2005 values and compare it for those classes you use. In fact getting the same size is not bullet-proof but far along 99% of safeness. Just a hint Jochen [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Starting work on Techno Trend Premium support
Contact us
RSS
Top
Bottom