المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : axWindowsMediaplayer memory leak



C# Programming
06-23-2013, 04:51 PM
Hello,


when I am using axWidowsmediaPlayer and Dispose it afterwards. I get memory leaks. The mediaplayer is dynamically created with each usage and after some time disposed. Every single instance stays in memory until the system crashes.

I need help here. Could't find anything useful on the net.

The exceptions when disposing are:
System.Runtime.InteropServices.InvalidComObjectException
"COM object that has been separated from its underlying RCW cannot be used"



I already posted my problem here:
http://www.codeproject.com/Questions/610465/MemoryplusLeaksplusinplusWindowplusMediaplusPlayer

It ist the same problem as this one:
http://www.codeproject.com/Questions/155836/Memory-Leaks-in-Window-Media-Player-c

Sinde there is no answert to that since 2011 I wanted to know is someone knows the answer.


Please help. I am running out of ideas. Thanks.