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 

Passing Object btw Client/Server

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder Databases (Multi-Tier)
View previous topic :: View next topic  
Author Message
Darl
Guest





PostPosted: Mon May 22, 2006 6:16 pm    Post subject: Passing Object btw Client/Server Reply with 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
Mark Guerrieri
Guest





PostPosted: Tue May 23, 2006 9:14 pm    Post subject: Re: Passing Object btw Client/Server Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder 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.