Article View: borland.public.cppbuilder.database.multi-tier
Article #125Re: Passing Object btw Client/Server
From: 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. > >
Technical Details
Message-ID:
<4473707d$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<4471f376@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: fcd2b,e00ebb27c1ee202e X-Google-Attributes: gidfcd2b,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Mark Guerrieri" <mguerrieri@ncogroup.com> Newsgroups: borland.public.cppbuilder.database.multi-tier References: <4471f376@newsgroups.borland.com> Subject: Re: Passing Object btw Client/Server Date: Tue, 23 May 2006 16:28:46 -0400 Lines: 38 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 63.79.198.2 Message-ID: <4473707d$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1148416125 63.79.198.2 (23 May 2006 13:28:45 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail