Click here to Skip to main content
15,889,116 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: LINK : error LNK2001: unresolved external symbol __DllMainCRTStartup@12 Pin
David Crow30-Jan-12 5:13
David Crow30-Jan-12 5:13 
GeneralRe: LINK : error LNK2001: unresolved external symbol __DllMainCRTStartup@12 Pin
KASR130-Jan-12 5:28
KASR130-Jan-12 5:28 
AnswerRe: LINK : error LNK2001: unresolved external symbol __DllMainCRTStartup@12 Pin
Stephen Hewitt31-Jan-12 3:22
Stephen Hewitt31-Jan-12 3:22 
QuestionHow to call load a dialog of an activeX control in a mfc application Pin
Adity Bhattacharya30-Jan-12 1:14
Adity Bhattacharya30-Jan-12 1:14 
AnswerRe: How to call load a dialog of an activeX control in a mfc application Pin
«_Superman_»30-Jan-12 16:09
professional«_Superman_»30-Jan-12 16:09 
GeneralRe: How to call load a dialog of an activeX control in a mfc application Pin
Adity Bhattacharya30-Jan-12 17:37
Adity Bhattacharya30-Jan-12 17:37 
GeneralRe: How to call load a dialog of an activeX control in a mfc application Pin
Chandrasekharan P30-Jan-12 17:55
Chandrasekharan P30-Jan-12 17:55 
GeneralRe: How to call load a dialog of an activeX control in a mfc application Pin
Adity Bhattacharya30-Jan-12 21:24
Adity Bhattacharya30-Jan-12 21:24 
Hi,
yes I have registered the control and added header file and .cpp file of that control using Add-> class->MFC from ActiveX into my project. I created a member variable of that class by the following code on button click of my application

CQualityCheck chkdlg;
chkdlg.callSample("");
but while running it is showing error in the following code winocc.cpp file:
void AFX_CDECL CWnd::InvokeHelper(DISPID dwDispID, WORD wFlags, VARTYPE vtRet,
void* pvRet, const BYTE* pbParamInfo, ...)
{
ASSERT(m_pCtrlSite != NULL); // not an OLE control (not yet, at least)

if (m_pCtrlSite == NULL)
return;

va_list argList;
va_start(argList, pbParamInfo);
m_pCtrlSite->InvokeHelperV(dwDispID, wFlags, vtRet, pvRet, pbParamInfo,
argList);
va_end(argList);
}

Please help how to resolve this?
Adity
GeneralRe: How to call load a dialog of an activeX control in a mfc application Pin
«_Superman_»30-Jan-12 18:06
professional«_Superman_»30-Jan-12 18:06 
GeneralRe: How to call load a dialog of an activeX control in a mfc application Pin
Chandrasekharan P30-Jan-12 18:08
Chandrasekharan P30-Jan-12 18:08 
GeneralRe: How to call load a dialog of an activeX control in a mfc application Pin
Adity Bhattacharya30-Jan-12 21:24
Adity Bhattacharya30-Jan-12 21:24 
QuestionCalling VB executable from MFC Pin
Anu_Bala30-Jan-12 0:09
Anu_Bala30-Jan-12 0:09 
AnswerRe: Calling VB executable from MFC Pin
«_Superman_»30-Jan-12 0:14
professional«_Superman_»30-Jan-12 0:14 
AnswerRe: Calling VB executable from MFC Pin
Wes Aday30-Jan-12 3:09
professionalWes Aday30-Jan-12 3:09 
QuestionCan Any Control have it own message map Pin
ForNow29-Jan-12 17:31
ForNow29-Jan-12 17:31 
AnswerRe: Can Any Control have it own message map Pin
_AnsHUMAN_ 30-Jan-12 0:50
_AnsHUMAN_ 30-Jan-12 0:50 
AnswerRe: Can Any Control have it own message map Pin
Code-o-mat30-Jan-12 22:01
Code-o-mat30-Jan-12 22:01 
QuestionWindows Driver Development Pin
candogu29-Jan-12 5:44
candogu29-Jan-12 5:44 
JokeRe: Windows Driver Development Pin
Richard Andrew x6429-Jan-12 11:20
professionalRichard Andrew x6429-Jan-12 11:20 
GeneralRe: Windows Driver Development Pin
Albert Holguin29-Jan-12 17:01
professionalAlbert Holguin29-Jan-12 17:01 
GeneralRe: Windows Driver Development Pin
candogu30-Jan-12 3:51
candogu30-Jan-12 3:51 
AnswerRe: Windows Driver Development Pin
«_Superman_»29-Jan-12 15:40
professional«_Superman_»29-Jan-12 15:40 
AnswerRe: Windows Driver Development Pin
Erudite_Eric29-Jan-12 21:07
Erudite_Eric29-Jan-12 21:07 
GeneralRe: Windows Driver Development Pin
candogu30-Jan-12 3:47
candogu30-Jan-12 3:47 
GeneralRe: Windows Driver Development Pin
JackDingler31-Jan-12 11:39
JackDingler31-Jan-12 11:39 

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.