Displaying 1 result from an estimated 1 matches for "createdispatch".
2008 Sep 25
0
C++ & R: Displaying a lattice graphic using D Com
...onnector lConnector;
IDispatch* lCharDev = NULL;
IDispatch* lGfxDev = NULL;
if(FAILED(m_CharDev.GetControlUnknown()->QueryInterface(IID_IDispatch,(LPVOI
D*) &lCharDev))) {
MessageBox("Error querying Dispatch from Character Device");
return;
}
if(FAILED(lConnector.CreateDispatch(_T("StatConnectorSrv.StatConnector"))))
{
MessageBox("Error creating StatConnectorSrv");
return;
}
lConnector.Init(_T("R"));
lConnector.SetCharacterOutputDevice(lCharDev);
lConnector.AddGraphicsDevice(_T("Gfx"),m_GraphDev.GetGFX());
lConnect...