Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Another automating problem.

Status
Not open for further replies.

WilliamGS

Programmer
Jan 21, 2004
54
PE
Hi all,
I am using 'COleDispatchDriver::CreateDispatch(REFCLSID clsid, COleException* pError = NULL)' to automate an application, my clsid is correct and 'CreateDispatch()' fails and give me the 'CO_E_NOTINITIALIZED ($800401F0)' error in 'pError->m_sc', ¿How can I fix this error?.

Thanks in advance,

William G.S.
 
call CoInitialize(0) or OleInitialize(0) when beginning the application

Ion Filipski
1c.bmp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top