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