Dispose Player WMPLib

67 Views Asked by At

I have multiple initialized WMPLib players in my code. I want to be able to kill some of them on command. I know how to make an event, but not how to dispose those Players since I just don't want them to exist anymore.

There's

Player.controls.stop();

but is this seriously the way to do it? How can I dispose it on command (i.e event trigger)?

0

There are 0 best solutions below