It is currently May 3rd, 2024, 5:50 am

Windows Media Player Plugin

Share and get help with Plugins and Addons
FalconHacker
Posts: 1
Joined: June 4th, 2010, 10:02 am

Windows Media Player Plugin

Post by FalconHacker »

Hi ,
I started writing a WMPlayer Plugin based on the iTunesPlugin . But whatever i try it still crash the whole Rainmeter . After some debugging i found that the problem came from this lines :

Code: Select all

CComPtr<IWMPlayer> WMP;
CComPtr<IWMPCore3> core(WMP);
CComPtr<IWMPControls> WMPControl;
CComPtr<IWMPSettings> WMPSettings;

.........

core->get_currentMedia(&CurrentTrack);  // <== Bugs here
	core->get_controls(&WMPControl);  // <== Here
	core->get_settings(&WMPSettings); // <== and Here
It's the first time I use WMplayer SDK . So does anybody knows where the problem is ?