I have been trying to integrate DevArt dbExpress component (trial version) in my Delphi 2009 application. When I do so in a separate thread it gives me the following error:
So, I added the following code in the Execute method of the thread:OLE DB error occurred. Code 800401F0h.
CoInitialize has not been called.
Code: Select all
CoInitializeEx(nil, COINIT_APARTMENTTHREADED);
Regards,
Adeel.