Displaying 1 result from an estimated 1 matches for "m_chardev".
Did you mean:
chardev
2008 Sep 25
0
C++ & R: Displaying a lattice graphic using D Com
...sible.
I am using visual C++ - and I have copied out the code at the end of this
note.
I would be grateful for any advice.
Kind regards
Noel
void CMFCClientDlg::OnTest()
{
BeginWaitCursor();
IStatConnector 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...