We help IT Professionals succeed at work.

CoInitialize has not been called Message Exception

ali_elmahi
ali_elmahi asked
on
I have Problem using AdO Connection in Thread
On i try to open ADOConnection in side my thread i received this exception message
'CoInitialize has not been called'
how can i solved this problem ...
waiting for help
Comment
Watch Question

Commented:
Make sure you include the relevant COM units in your unit's uses clause: this could be
ComObj or ActiveX.

Or you could call CoInitialize yourself in your unit's
initialization section and then call CoUnInitialize in the
finalization section
ali_elmahi:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.

Explore More ContentExplore courses, solutions, and other research materials related to this topic.