 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Jeff Burgoon Guest
|
Posted: Wed Jul 23, 2003 9:52 pm Post subject: Reference RDM Objects From Main Form |
|
|
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
|
Posted: Fri Jul 25, 2003 1:57 am Post subject: Re: Reference RDM Objects From Main Form |
|
|
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 |
|
 |
|
|
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
|
|