Click here to Skip to main content
15,898,987 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: MFC exe not working in non VC++ system Pin
Cedric Moonen12-Feb-08 4:53
Cedric Moonen12-Feb-08 4:53 
GeneralRe: MFC exe not working in non VC++ system Pin
Cedric Moonen12-Feb-08 4:54
Cedric Moonen12-Feb-08 4:54 
GeneralRe: MFC exe not working in non VC++ system Pin
Anu_Bala12-Feb-08 4:57
Anu_Bala12-Feb-08 4:57 
GeneralRe: MFC exe not working in non VC++ system Pin
Cedric Moonen12-Feb-08 5:03
Cedric Moonen12-Feb-08 5:03 
GeneralRe: MFC exe not working in non VC++ system Pin
Iain Clarke, Warrior Programmer12-Feb-08 5:03
Iain Clarke, Warrior Programmer12-Feb-08 5:03 
GeneralRe: MFC exe not working in non VC++ system Pin
toxcct12-Feb-08 4:55
toxcct12-Feb-08 4:55 
GeneralRe: MFC exe not working in non VC++ system Pin
Cedric Moonen12-Feb-08 4:58
Cedric Moonen12-Feb-08 4:58 
GeneralRe: MFC exe not working in non VC++ system Pin
Iain Clarke, Warrior Programmer12-Feb-08 5:01
Iain Clarke, Warrior Programmer12-Feb-08 5:01 
As Cedric has prodded me, some more thoughts...

The redistributables haven't been necessary for a long time now. If your program runs, you don't need them.

I stand by my second point...

Looking at winocc.cpp:345...

/////////////////////////////////////////////////////////////////////////////
// CWnd invoke helpers for OLE Control wrappers

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)          <--- line 345.

	if (m_pCtrlSite == NULL)
		return;

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


It looks like you're using some COM object that you haven't installed / registered / ask politely on your new system.

Now you just need to track it down. I find remote debugging a bit of a nuisance, but a godsend at times like this.

Iain.

Iain Clarke appearing in spite of being begged not to by CPallini.

GeneralRe: MFC exe not working in non VC++ system Pin
Hamid_RT12-Feb-08 6:47
Hamid_RT12-Feb-08 6:47 
GeneralRe: MFC exe not working in non VC++ system Pin
David Crow12-Feb-08 7:48
David Crow12-Feb-08 7:48 
JokeRe: MFC exe not working in non VC++ system Pin
Rajesh R Subramanian12-Feb-08 8:54
professionalRajesh R Subramanian12-Feb-08 8:54 
GeneralRe: MFC exe not working in non VC++ system Pin
Anu_Bala12-Feb-08 17:29
Anu_Bala12-Feb-08 17:29 
JokeRe: MFC exe not working in non VC++ system Pin
Rajesh R Subramanian12-Feb-08 19:50
professionalRajesh R Subramanian12-Feb-08 19:50 
GeneralDrop List in a Combo Box Pin
Davros12-Feb-08 4:30
Davros12-Feb-08 4:30 
GeneralRe: Drop List in a Combo Box Pin
Iain Clarke, Warrior Programmer12-Feb-08 5:05
Iain Clarke, Warrior Programmer12-Feb-08 5:05 
GeneralRe: Drop List in a Combo Box Pin
Davros12-Feb-08 5:15
Davros12-Feb-08 5:15 
GeneralRe: Drop List in a Combo Box Pin
Davros12-Feb-08 5:20
Davros12-Feb-08 5:20 
GeneralRe: Drop List in a Combo Box Pin
Iain Clarke, Warrior Programmer12-Feb-08 5:56
Iain Clarke, Warrior Programmer12-Feb-08 5:56 
GeneralRe: Drop List in a Combo Box Pin
Davros12-Feb-08 6:00
Davros12-Feb-08 6:00 
GeneralRe: Drop List in a Combo Box Pin
Davros12-Feb-08 6:07
Davros12-Feb-08 6:07 
GeneralRe: Drop List in a Combo Box Pin
Iain Clarke, Warrior Programmer12-Feb-08 6:18
Iain Clarke, Warrior Programmer12-Feb-08 6:18 
GeneralRe: Drop List in a Combo Box Pin
Davros12-Feb-08 6:31
Davros12-Feb-08 6:31 
GeneralRe: Drop List in a Combo Box Pin
Davros12-Feb-08 7:02
Davros12-Feb-08 7:02 
GeneralRe: Drop List in a Combo Box Pin
Davros12-Feb-08 7:47
Davros12-Feb-08 7:47 
GeneralRe: Drop List in a Combo Box Pin
Iain Clarke, Warrior Programmer12-Feb-08 9:03
Iain Clarke, Warrior Programmer12-Feb-08 9:03 

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.