描述:
private:
CAxWindow *m_pView;
CComPtr<IAxWinHostWindow> spHost;
CComPtr<IWMPPlayer4> m_spPlayer;
ComPtr<IWMPMediaCollection> m_spMC;
ComPtr<IWMPPlaylistCollection> m_spPC;
CComPtr<IWMPPlaylist> m_spSavedPlaylist;
VC++ 编译一直提示:
Link.cpp
e:\newmovie\link\altlink.h(135) : error C2065: 'IWMPPlayer4' : undeclared identifier
e:\newmovie\link\altlink.h(135) : error C2955: 'CComPtr' : use of class template requires template argument list
e:\program files\microsoft visual studio\vc98\atl\include\atlbase.h(563) : see declaration of 'CComPtr'
e:\newmovie\link\altlink.h(135) : fatal error C1903: unable to recover from previous error(s); stopping compilation
求问高手要如何解决这个问题!!! 小弟我有急用的。