Re: ADOQuery in thread hangs



Thanks, now it compiled.

Tried to put CoInitialize(Nil); and CoUninitialize; at the beginning /
end of my Execute medthod but it didn't solve my problem...

Regards, Mikael


"Kevin Frevert" <kevin@xxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:45645de0$1@xxxxxxxxxxxxxxxxxxxxxxxxx
"Mikael Lenfors" <mikael@xxxxxxxxxx> wrote in message
news:45645c5d@xxxxxxxxxxxxxxxxxxxxxxxxx
Tried to put CoInitialize(Null, COINIT_APARTMENTTHREADED); at the
beginning of my thread Execute but it's an unknown command. What Uses am
I supposed to provide?

ActiveX




.