ATL property problem
-
I am using VC2003 and working on a mfc project that includes ALT(i'm a beginer in ATL) and I encountered the folowing problem : I have defined some properties interface IATLDisplay : IDispatch{ // ..... more properties // the next line is the one with the problem [propget, id(2), helpstring("property GetLastChangeTime")] HRESULT GetLastChangeTime([out, retval] COleDateTime* pVal); }; Upon compiling i get the folowing error message : error MIDL2025 : syntax error : expecting a type specification near "COleDateTime" - error related to the above presented line Any ideea why this apears ? do i need to import some aditional .idl file ? Thanks for any help .
-
I am using VC2003 and working on a mfc project that includes ALT(i'm a beginer in ATL) and I encountered the folowing problem : I have defined some properties interface IATLDisplay : IDispatch{ // ..... more properties // the next line is the one with the problem [propget, id(2), helpstring("property GetLastChangeTime")] HRESULT GetLastChangeTime([out, retval] COleDateTime* pVal); }; Upon compiling i get the folowing error message : error MIDL2025 : syntax error : expecting a type specification near "COleDateTime" - error related to the above presented line Any ideea why this apears ? do i need to import some aditional .idl file ? Thanks for any help .