Subject | IBObjects and Threads |
---|---|
Author | fabiano_bonin |
Post date | 2007-11-07T13:09:06Z |
Hi all,
I'm trying to use a TIBOQuery inside a thread and i'm getting some errors.
I'm creating a test case, but before describe my problem deeply, is
there some document or advice about using datasets inside threads?
I'm trying to use the default application connection (a TIBODatabase)
inside the thread. In the execute method i create a new
TIB_Transaction and some TIBOQuery to do selects and updates, but
while the thread is working, if i try to create and open a new
TIBOQuery in the main application which access one of the tables
involved in the thread, i get an 'error reading data from the connection'.
Regards,
Fabiano.
I'm trying to use a TIBOQuery inside a thread and i'm getting some errors.
I'm creating a test case, but before describe my problem deeply, is
there some document or advice about using datasets inside threads?
I'm trying to use the default application connection (a TIBODatabase)
inside the thread. In the execute method i create a new
TIB_Transaction and some TIBOQuery to do selects and updates, but
while the thread is working, if i try to create and open a new
TIBOQuery in the main application which access one of the tables
involved in the thread, i get an 'error reading data from the connection'.
Regards,
Fabiano.