Help
-
Hi I want to use COleVariant class object . I also include "afxdisp.h" But it show compit time error "error C2065: 'COleVariant' : undeclared identifier" what is the reason.
manu
Whats your program and your compiler?
WhiteSky
-
Whats your program and your compiler?
WhiteSky
CoInitialize(NULL); IRDOSession* Session; HRESULT hr; hr=CoCreateInstance(__uuidof(RDOSession),NULL,CLSCTX_INPROC_SERVER,__uuidof(IRDOSession),(void**) &Session); COleVariant covOptional((long)DISP_E_PARAMNOTFOUND, VT_ERROR);//error here Session->Logon(covOptional,covOptional, covOptional, covOptional, covOptional, covOptional);
manu
-
Whats your program and your compiler?
WhiteSky
-
Im using vs2003 and its good working
WhiteSky
-
Im using vs2003 and its good working
WhiteSky
-
COleVariant covOptional((long)DISP_E_PARAMNOTFOUND, VT_ERROR);//without error 0 error(s), 0 warning(s) whats application type
WhiteSky
-
COleVariant covOptional((long)DISP_E_PARAMNOTFOUND, VT_ERROR);//without error 0 error(s), 0 warning(s) whats application type
WhiteSky
-
:-DAnd also on Win32 Console Project with insert
Afxdisp.h
its working when you insert this file you get same error undeclared identifier
WhiteSky
-
:-DAnd also on Win32 Console Project with insert
Afxdisp.h
its working when you insert this file you get same error undeclared identifier
WhiteSky
-
Did you use of <> in include
WhiteSky
-
Did you use of <> in include
WhiteSky
-
If you create a new project(win32 console) and insert COleVariant in this new project and also include this file to stdafx.h of your project what happens?
WhiteSky
-
Did you try it?what happend?
WhiteSky