Sessions and threads and datamodule question |
|
Hi,
can anyone confirm that the dabases (Paradox) created and used by the main
thread can all use the default Session and only the threads that access
these tables needs "private" Sessions?
Second, I started out using a Datamodule to configure the thread database
access using the IDE and then created the datamodule in my thread
constructor, the creation works fine but when I try to destroy (delete) the
datamodule the app hangs. I then tried creating the TTable and TSession
objects "manually" in the threads constructor and with this way it does not
hang when I destroy it. Why?
Regards
Goran
|
Re: Sessions and threads and datamodule question |
|