 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Darl Guest
|
Posted: Mon May 22, 2006 6:16 pm Post subject: Passing Object btw Client/Server |
|
|
Hello,
Is it possible for me to pass an Object from a Server to a Client.
This is what I want to do.
I have an Automated COM Server Object, My clients know where and how to
connect to this server.
On my server computer other COM Classes are registered, but i don't wnat my
clients to know where or how to connect to this other COM Object.
My Server should have an inteface that client calls to obtain a reference of
any COM Object it needs, without knowing where the Object from resident.
in a nutshell my server is nothing but an Object server. ie it server object
to the client.
My problem is that Borland C++ COM Interface does not allow you to pass
Objects or returns Objects unlike VB Class Object, where you can pass or
return any type you can within VB .
Is there a way to do this???.
Thanks All
Darl. |
|
| Back to top |
|
 |
Mark Guerrieri Guest
|
Posted: Tue May 23, 2006 9:14 pm Post subject: Re: Passing Object btw Client/Server |
|
|
Pass either an IDispatch* or a VARIANT containing an IDispatch...
Mark
"Darl" <darl (AT) nospam (DOT) com> wrote in message
news:4471f376 (AT) newsgroups (DOT) borland.com...
| Quote: | Hello,
Is it possible for me to pass an Object from a Server to a Client.
This is what I want to do.
I have an Automated COM Server Object, My clients know where and how to
connect to this server.
On my server computer other COM Classes are registered, but i don't wnat
my
clients to know where or how to connect to this other COM Object.
My Server should have an inteface that client calls to obtain a reference
of
any COM Object it needs, without knowing where the Object from resident.
in a nutshell my server is nothing but an Object server. ie it server
object
to the client.
My problem is that Borland C++ COM Interface does not allow you to pass
Objects or returns Objects unlike VB Class Object, where you can pass or
return any type you can within VB .
Is there a way to do this???.
Thanks All
Darl.
|
|
|
| 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
|
|