BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

TSocketConnection

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (Multi-Tier)
View previous topic :: View next topic  
Author Message
Maximiliano Robaina
Guest





PostPosted: Tue Mar 02, 2004 8:48 pm    Post subject: TSocketConnection Reply with 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
Mr. John A. Jackson
Guest





PostPosted: Wed Mar 03, 2004 2:09 am    Post subject: Re: TSocketConnection Reply with 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.

"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





PostPosted: Wed Mar 03, 2004 6:41 pm    Post subject: Re: TSocketConnection Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (Multi-Tier) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.