please help me!!!
-
//Main.h __interface IFileIO : IDispatch { [id(1), helpstring("method GetFile")] HRESULT GetFile(); [id(2), helpstring("method getDirectory")] HRESULT GetDirectory(); }; class ATL_NO_VTABLE EDCService :public IFileIO { public: EDCService() { } DECLARE_PROTECT_FINAL_CONSTRUCT() HRESULT FinalConstruct() { return S_OK; } void FinalRelease() { } public: STDMETHOD(GetFile); STDMETHOD(GetDirectory); }
Hi friends ...STDMETHOD(GetFile); STDMETHOD(GetDirectory); these two methods definitions are written main.cpp
i doing so many try's to solve this prob..first i create instance of EDCService.like EDCService edcobj; then i create instance of EDCService like edcobj.CreateInstance(); but showing.. When i compile this code i get the follwing errors i dont know how was solve it error C2039: 'CreateInstance' : is not a member of 'EDCService' error C2259: 'EDCService' : cannot instantiate abstract class Please tell me how to solve this problem ..*****THANKS N ADVANCE**** Mathen.K (I WILL TRY MY LEVEL BEST )
-
//Main.h __interface IFileIO : IDispatch { [id(1), helpstring("method GetFile")] HRESULT GetFile(); [id(2), helpstring("method getDirectory")] HRESULT GetDirectory(); }; class ATL_NO_VTABLE EDCService :public IFileIO { public: EDCService() { } DECLARE_PROTECT_FINAL_CONSTRUCT() HRESULT FinalConstruct() { return S_OK; } void FinalRelease() { } public: STDMETHOD(GetFile); STDMETHOD(GetDirectory); }
Hi friends ...STDMETHOD(GetFile); STDMETHOD(GetDirectory); these two methods definitions are written main.cpp
i doing so many try's to solve this prob..first i create instance of EDCService.like EDCService edcobj; then i create instance of EDCService like edcobj.CreateInstance(); but showing.. When i compile this code i get the follwing errors i dont know how was solve it error C2039: 'CreateInstance' : is not a member of 'EDCService' error C2259: 'EDCService' : cannot instantiate abstract class Please tell me how to solve this problem ..*****THANKS N ADVANCE**** Mathen.K (I WILL TRY MY LEVEL BEST )
-
//Main.h __interface IFileIO : IDispatch { [id(1), helpstring("method GetFile")] HRESULT GetFile(); [id(2), helpstring("method getDirectory")] HRESULT GetDirectory(); }; class ATL_NO_VTABLE EDCService :public IFileIO { public: EDCService() { } DECLARE_PROTECT_FINAL_CONSTRUCT() HRESULT FinalConstruct() { return S_OK; } void FinalRelease() { } public: STDMETHOD(GetFile); STDMETHOD(GetDirectory); }
Hi friends ...STDMETHOD(GetFile); STDMETHOD(GetDirectory); these two methods definitions are written main.cpp
i doing so many try's to solve this prob..first i create instance of EDCService.like EDCService edcobj; then i create instance of EDCService like edcobj.CreateInstance(); but showing.. When i compile this code i get the follwing errors i dont know how was solve it error C2039: 'CreateInstance' : is not a member of 'EDCService' error C2259: 'EDCService' : cannot instantiate abstract class Please tell me how to solve this problem ..*****THANKS N ADVANCE**** Mathen.K (I WILL TRY MY LEVEL BEST )
Can you please keep the subject line of your post descriptive? Anything other than PLZZZ HELP, URGENT HELP REQUIRED, PROGRAM NOT WORKING, etc? :|
Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->Rajesh<-·´¯`·. Codeproject.com: Visual C++ MVP