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
other features (of release or svn versions)
Life After RC3...
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="te3hpurp" data-source="post: 311596" data-attributes="member: 82806"><p>One more thing, and then i shut my mouth. <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /> Those Directshow wrappers. There should be extra careful of using them from managed code as there are</p><p>tricks that are not always clear. Marshal.releaseComObject does not release all resources in some special cases(resources behind IntPtr). It is very easy to have memory or handle leaks. Other thing is managed code automatic GarbageCollector as it does not see that unmanaged resource is alive and well. There must be managed object attached to it every time, or GarbageCollector might kill it(belive me, i've been there). There was a huge project for creating Learning Solution software for language lab, which involved huge Directshow library for playing MS supported media files + realmedia+quicktime internally. It was created with C#.</p></blockquote><p></p>
[QUOTE="te3hpurp, post: 311596, member: 82806"] One more thing, and then i shut my mouth. :-) Those Directshow wrappers. There should be extra careful of using them from managed code as there are tricks that are not always clear. Marshal.releaseComObject does not release all resources in some special cases(resources behind IntPtr). It is very easy to have memory or handle leaks. Other thing is managed code automatic GarbageCollector as it does not see that unmanaged resource is alive and well. There must be managed object attached to it every time, or GarbageCollector might kill it(belive me, i've been there). There was a huge project for creating Learning Solution software for language lab, which involved huge Directshow library for playing MS supported media files + realmedia+quicktime internally. It was created with C#. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
other features (of release or svn versions)
Life After RC3...
Contact us
RSS
Top
Bottom