Click here to Skip to main content
15,902,634 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Skipws Pin
George_George3-Mar-08 0:55
George_George3-Mar-08 0:55 
Questiondependent DLL intresting? Pin
Ravinder Are2-Mar-08 20:03
Ravinder Are2-Mar-08 20:03 
AnswerRe: dependent DLL intresting? Pin
Naveen2-Mar-08 21:15
Naveen2-Mar-08 21:15 
QuestionHow to convert BMP to multipage TIFF file Pin
VmTHiru2-Mar-08 19:46
VmTHiru2-Mar-08 19:46 
GeneralRe: How to convert BMP to multipage TIFF file Pin
ThatsAlok2-Mar-08 20:28
ThatsAlok2-Mar-08 20:28 
GeneralRe: How to convert BMP to multipage TIFF file Pin
Mark Salsbery3-Mar-08 6:57
Mark Salsbery3-Mar-08 6:57 
GeneralRe: How to convert BMP to multipage TIFF file Pin
Game-point30-Sep-09 19:32
Game-point30-Sep-09 19:32 
Generalplease help me!!! Pin
rowdy_vc++2-Mar-08 18:46
rowdy_vc++2-Mar-08 18:46 
//Main.h<br />
__interface IFileIO : IDispatch<br />
{<br />
	[id(1), helpstring("method GetFile")] HRESULT GetFile();<br />
	[id(2), helpstring("method getDirectory")] HRESULT GetDirectory();<br />
};<br />
<br />
class ATL_NO_VTABLE EDCService :public IFileIO<br />
{<br />
public:<br />
	EDCService()<br />
	{<br />
	}<br />
DECLARE_PROTECT_FINAL_CONSTRUCT()<br />
HRESULT FinalConstruct()<br />
	{<br />
		return S_OK;<br />
	}<br />
	<br />
	 void FinalRelease()<br />
	{<br />
	}<br />
<br />
public:<br />
<br />
	STDMETHOD(GetFile);<br />
	STDMETHOD(GetDirectory);<br />
}<br />

Hi friends ...

STDMETHOD(GetFile);<br />
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 )

GeneralRe: please help me!!! Pin
KASR12-Mar-08 19:10
KASR12-Mar-08 19:10 
GeneralRe: please help me!!! [modified] Pin
rowdy_vc++2-Mar-08 19:17
rowdy_vc++2-Mar-08 19:17 
GeneralRe: please help me!!! Pin
Rajesh R Subramanian2-Mar-08 21:26
professionalRajesh R Subramanian2-Mar-08 21:26 
GeneralMenu of ActiveX control Pin
includeh102-Mar-08 17:22
includeh102-Mar-08 17:22 
QuestionHow to convert CString to int in UNICODE app? Pin
TooShy2Talk2-Mar-08 16:50
TooShy2Talk2-Mar-08 16:50 
AnswerRe: How to convert CString to int in UNICODE app? Pin
Haroon Sarwar2-Mar-08 17:31
Haroon Sarwar2-Mar-08 17:31 
AnswerRe: How to convert CString to int in UNICODE app? Pin
Mark Salsbery2-Mar-08 17:49
Mark Salsbery2-Mar-08 17:49 
AnswerRe: How to convert CString to int in UNICODE app? Pin
ThatsAlok2-Mar-08 19:27
ThatsAlok2-Mar-08 19:27 
Generalcapacity and reserve Pin
George_George2-Mar-08 16:34
George_George2-Mar-08 16:34 
AnswerRe: capacity and reserve Pin
BerlinCanary2-Mar-08 23:26
BerlinCanary2-Mar-08 23:26 
GeneralRe: capacity and reserve Pin
George_George3-Mar-08 0:17
George_George3-Mar-08 0:17 
QuestionHow to convert CString to WCHAR*? Pin
TooShy2Talk2-Mar-08 14:39
TooShy2Talk2-Mar-08 14:39 
AnswerRe: How to convert CString to WCHAR*? Pin
Sameerkumar Namdeo2-Mar-08 16:01
Sameerkumar Namdeo2-Mar-08 16:01 
GeneralRe: How to convert CString to WCHAR*? Pin
TooShy2Talk2-Mar-08 18:08
TooShy2Talk2-Mar-08 18:08 
AnswerRe: How to convert CString to WCHAR*? Pin
Mark Salsbery2-Mar-08 17:54
Mark Salsbery2-Mar-08 17:54 
GeneralRe: How to convert CString to WCHAR*? Pin
TooShy2Talk2-Mar-08 18:09
TooShy2Talk2-Mar-08 18:09 
JokeRe: How to convert CString to WCHAR*? Pin
Rajesh R Subramanian2-Mar-08 18:57
professionalRajesh R Subramanian2-Mar-08 18:57 

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.