 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Maximiliano Robaina Guest
|
Posted: Tue Mar 02, 2004 8:48 pm Post subject: TSocketConnection |
|
|
Hi,
How can use Thread using TSocketConnection component?
I've use TServerSocketThread or sometime like this?
I' need Open ClientDataset's in separate thread.
Thank in advance.
--
Maxi
|
|
| Back to top |
|
 |
Mr. John A. Jackson Guest
|
Posted: Wed Mar 03, 2004 2:09 am Post subject: Re: TSocketConnection |
|
|
I've been able to open and close a clientdataset in a thread, but not in the
context of a TSocketConnection. I created a TThread class with a
ClientDataSet variable. I passed the ClientDataSet to the TThread class,
then I used the Execute method to open the ClientDataSet. I then passed the
loaded ClientDataSet back to the main code.
"Maximiliano Robaina" <mrobaina (AT) bureausi (DOT) com.ar> wrote
| Quote: | Hi,
How can use Thread using TSocketConnection component?
I've use TServerSocketThread or sometime like this?
I' need Open ClientDataset's in separate thread.
Thank in advance.
--
Maxi
|
|
|
| Back to top |
|
 |
Maximiliano Robaina Guest
|
Posted: Wed Mar 03, 2004 6:41 pm Post subject: Re: TSocketConnection |
|
|
Mr. John:
I test too open a clientdataset in other thread but using a DCOM connection
type.
The problem apparently is what socket connection (using Borland Socket
Server) may be use blocking socket.
Thank anyway.
Regards.
"Mr. John A. Jackson" <[no]dd2x]spam[@lweresearch.com> escribió en el
mensaje news:40454006 (AT) newsgroups (DOT) borland.com...
| Quote: | I've been able to open and close a clientdataset in a thread, but not in
the
context of a TSocketConnection. I created a TThread class with a
ClientDataSet variable. I passed the ClientDataSet to the TThread class,
then I used the Execute method to open the ClientDataSet. I then passed
the
loaded ClientDataSet back to the main code.
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|