Hi Parcel,
My TPQConnection, Transaction and query are created at runime in the thread. They don't communicate with the main form / datamodule.
My issue is more how to catch the exception ! Working with critical section will change that.
I've never used critical sections. Where should I create my object ? befreo creating the thread ? In the thread initialization (oncreate event) ?