Click here to Skip to main content
15,888,461 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralPlease help me [modified] Pin
Rahul Vaishnav7-Mar-08 22:45
Rahul Vaishnav7-Mar-08 22:45 
GeneralRe: Please help me Pin
Dr. Emmett Brown10-Mar-08 10:44
Dr. Emmett Brown10-Mar-08 10:44 
GeneralRe: Please help me Pin
Rahul Vaishnav10-Mar-08 18:36
Rahul Vaishnav10-Mar-08 18:36 
GeneralProblem in getting data from server Pin
MANISH RASTOGI7-Mar-08 18:28
MANISH RASTOGI7-Mar-08 18:28 
GeneralRe: Problem in getting data from server Pin
Ernest Laurentin10-Mar-08 4:47
Ernest Laurentin10-Mar-08 4:47 
GeneralRe: Problem in getting data from server Pin
MANISH RASTOGI11-Mar-08 21:06
MANISH RASTOGI11-Mar-08 21:06 
GeneralEvent Map of an ActiveX control Pin
AbbyIndian6-Mar-08 6:58
AbbyIndian6-Mar-08 6:58 
GeneralError while creating object using CreateInstance() Pin
KASR16-Mar-08 0:31
KASR16-Mar-08 0:31 
//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 ..
GeneralRe: Error while creating object using CreateInstance() Pin
Nathan Holt at EMOM6-Mar-08 4:42
Nathan Holt at EMOM6-Mar-08 4:42 
GeneralBug in atlhost.h Pin
imagiro29-Feb-08 0:51
imagiro29-Feb-08 0:51 
GeneralRe: Bug in atlhost.h Pin
Michael Dunn29-Feb-08 9:29
sitebuilderMichael Dunn29-Feb-08 9:29 
GeneralReporting Bugs Pin
imagiro6-Mar-08 21:57
imagiro6-Mar-08 21:57 
GeneralGetting element id on click event from web browser in ATL Pin
ashish@indianic27-Feb-08 20:28
ashish@indianic27-Feb-08 20:28 
QuestionHow to use messagebox in ATL Pin
KASR126-Feb-08 21:41
KASR126-Feb-08 21:41 
AnswerRe: How to use messagebox in ATL Pin
ThatsAlok26-Feb-08 21:59
ThatsAlok26-Feb-08 21:59 
AnswerRe: How to use messagebox in ATL Pin
prasad_som5-Mar-08 4:57
prasad_som5-Mar-08 4:57 
AnswerRe: How to use messagebox in ATL Pin
dfz6-Mar-08 0:11
dfz6-Mar-08 0:11 
GeneralRe: How to use messagebox in ATL Pin
KASR16-Mar-08 0:14
KASR16-Mar-08 0:14 
AnswerRe: How to use messagebox in ATL Pin
Hamid_RT14-Apr-08 21:53
Hamid_RT14-Apr-08 21:53 
QuestionHow to handle strings in ATL. Pin
KASR126-Feb-08 19:23
KASR126-Feb-08 19:23 
AnswerRe: How to handle strings in ATL. Pin
MANISH RASTOGI26-Feb-08 21:09
MANISH RASTOGI26-Feb-08 21:09 
AnswerRe: How to handle strings in ATL. Pin
ThatsAlok26-Feb-08 21:58
ThatsAlok26-Feb-08 21:58 
GeneralRe: How to handle strings in ATL. Pin
KASR12-Mar-08 19:02
KASR12-Mar-08 19:02 
GeneralRe: How to handle strings in ATL. Pin
ThatsAlok2-Mar-08 19:26
ThatsAlok2-Mar-08 19:26 
GeneralRe: How to handle strings in ATL. Pin
Nemanja Trifunovic5-Mar-08 3:50
Nemanja Trifunovic5-Mar-08 3:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.