Thread View: borland.public.cppbuilder.database.multi-tier
2 messages
2 total messages
Started by Darl
Mon, 22 May 2006 17:21
Passing Object btw Client/Server
Author: Darl
Date: Mon, 22 May 2006 17:21
Date: Mon, 22 May 2006 17:21
25 lines
1671 bytes
1671 bytes
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.
Re: Passing Object btw Client/Server
Author: Mark Guerrieri
Date: Tue, 23 May 2006 20:28
Date: Tue, 23 May 2006 20:28
36 lines
1941 bytes
1941 bytes
Pass either an IDispatch* or a VARIANT containing an IDispatch... Mark "Darl" <darl@nospam.com> wrote in message news:4471f376@newsgroups.borland.com... > 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. > >
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads