Re: ADO + CoInitialize in threads? Mystery...
From: Bas van Beek (bas-no_at_spam-please.nl)
Date: 02/24/05
- Next message: Jeff Howard: "Re: TAdoData Master Detail Relationships"
- Previous message: Kjell Rilbe: "Re: ADO + CoInitialize in threads? Mystery..."
- In reply to: Kjell Rilbe: "Re: ADO + CoInitialize in threads? Mystery..."
- Next in thread: Kjell Rilbe: "Re: ADO + CoInitialize in threads? Mystery..."
- Reply: Kjell Rilbe: "Re: ADO + CoInitialize in threads? Mystery..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Jeff Howard: "Re: TAdoData Master Detail Relationships"
- Previous message: Kjell Rilbe: "Re: ADO + CoInitialize in threads? Mystery..."
- In reply to: Kjell Rilbe: "Re: ADO + CoInitialize in threads? Mystery..."
- Next in thread: Kjell Rilbe: "Re: ADO + CoInitialize in threads? Mystery..."
- Reply: Kjell Rilbe: "Re: ADO + CoInitialize in threads? Mystery..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]