[DUG] Coinitialise - the rules in threads
Phil Scadden
p.scadden at gns.cri.nz
Fri May 5 11:56:20 NZST 2006
A Service with a TCPService stopped working suddenly when all I thought
I had done was change the default port it listened on. However the error
is interesting - it complains that Coinitialise has not been called.
Hmm.
The main service thread calls Coinitialise and establishs a global
ADO connection object.
Each listener thread on the TCP service certainly manipulates the
ADO connection but I cant see why each thread would need Coinitialise???
Why did work earlier?
very puzzled at moment.
----------------------------------------------------------
Phil Scadden, Institute of Geological and Nuclear Sciences
764 Cumberland St, Private Bag 1930, Dunedin, New Zealand
Ph +64 3 4799663, fax +64 3 477 5232
More information about the Delphi
mailing list