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 

Reference RDM Objects From Main Form

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





PostPosted: Wed Jul 23, 2003 9:52 pm    Post subject: Reference RDM Objects From Main Form Reply with quote



What do I have to do to get my main server form to be able to use the
objects in the RDM?

Jeff


Back to top
Tony Blomfield
Guest





PostPosted: Fri Jul 25, 2003 1:57 am    Post subject: Re: Reference RDM Objects From Main Form Reply with quote



A Create a Global Class that encapsulates a TThreadList. Some people call
thi s an object pool.

B. WHen each RDM is created, add it to the ThreadList. You might create a
record structure that stores the RDM along with some other Identifier.

C. Now your Main Form can use the Other IDentifier to get a pointer to the
RDM you are interested in and thus call a function in the RDM.

D. Note that you will have to Marshal the call into your RDM using IStream.

The usual reason for doing this is to make a callback to the client throguh
a Proxy, so you need to marshal the proxy in this case.

Tony.

"Jeff Burgoon" <jeffburgoon (AT) hotmail (DOT) com> wrote

Quote:
What do I have to do to get my main server form to be able to use the
objects in the RDM?

Jeff







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.