AxWindowsMediaPlayer mono raspian c#

Valentina Tavanti 26 Reputation points
2022-08-18T06:37:39.703+00:00

Hi,

I try to make a AxWindowsMediaPlayer control on form whit MONO on raspian. It work very well on Windows, but on Raspian I have this error:

"System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'Hmi800App.PlayerVideoForm'.
at System.Windows.Forms.Control.CreateHandle () [0x00013] in <28e46de2d20c496895000ef0abfc2106>:0
at System.Windows.Forms.Form.CreateHandle () [0x00000] in <28e46de2d20c496895000ef0abfc2106>:0
at Hmi800App.PlayerVideoForm.InitializeControl (System.String _url, System.Boolean alredySee, System.String DpiDescription, System.String _dpiType) [0x0011e] in <4c680c0bc03a4b558a55ee653edb38ad>:0

It same that handle of control is not created.
Can you halp me?

Community Center | Not monitored
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.