Re: How to dispose MediaPlayer object? by William

William
Mon Mar 24 09:57:49 CDT 2008

"William Johnston" <williamj@tenbase2.com> wrote:
>

I do not recall the exact error message. But simply put, the compiler said not to override.

Thanks,
William Johnston


Re: How to dispose MediaPlayer object? by William

William
Mon Mar 24 10:01:09 CDT 2008

"William Johnston" <williamj@tenbase2.com> wrote:
>

Willy,

I received the runtime error of "The object's type must be __ComObject or derived from __ComObject. Parameter name: o" when attempting to call Marshal.ReleaseComObject(mp).
The variable mp is an instance of MediaPlayer.

Is there a callable wrapper involved? And if so, how to I access it?

Thanks,
William Johnston