Re: ADO + CoInitialize in threads? Mystery...

From: Bas van Beek (bas-no_at_spam-please.nl)
Date: 02/24/05


Date: Thu, 24 Feb 2005 16:25:27 +0100

Kjell Rilbe wrote:
> Interesting. I'll have to see if some other part of my app calls CoInit
> and if so how and when.

As far as I know you don't need to use CoInit when you at design time
drop ADO Components on a form or datamodule and use those objects in
your threads.

If you create the objects within your threads at runtime you DO need to
use CoInit

Bas van Beek