How to Show ActiveX Control on a Window?
COM
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, I have tried to show an ActiveX Control on a Window in SDI application. I used the following API, CLSID clsid; //clsid of activex control IUnknown* pIunknown; HRESULT hResult; hResult = CoCreateInstance( clsid, NULL, CLSCTX_INPROC_SERVER|CLSCTX_INPROC_HANDLER, IID_IUnknown, (void**)&pIunknown ); But still the Control is not display....... Where lies the Error? Can anyone help me out? -- modified at 5:31 Monday 12th September, 2005