Article View: borland.public.cppbuilder.database.multi-tier
Article #522Re: How to use the dispatch interface in BCB5
From: John Graham
Date: Sun, 10 Jun 2001 12:55
Date: Sun, 10 Jun 2001 12:55
47 lines
2978 bytes
2978 bytes
It's me again with some additional data. The Midas\Adhoc example provided with BCB5 doesn't work either. That is, it works as long as I run both the client and app. server on the same machine, but when the app. server is deployed to my NT 4x workstation, no go. This time I followed the instructions to the letter for deployment contained in the paperwork I got with my licenses using InstallShield. I've been unable to call my app. server methods either through IDispatch or IAppServer using Bind() as well as CoClassCreator::Create(). Someone out there MUST be using BCB 5 to develop nTier apps. with the app. server running on a different machine. I've run out of string and could sure use some help. Regards, John "John Graham ( SALTS Central )" wrote: > Hi, > > Can anyone tell me how to bind the dispatch interface of a MIDAS application > server running on a remote server to my client application? > > The client and app server were developed on a PC running Win 2000 using BCB5 > Enterprise. > > I have developed the same app. using BCB4 and have no problem binding the > dispatch interface and using the resultant object to access application > server methods that I wrote. Can't seem to make it work using BCB5 though. > Both versions of this app. employ TSocketConnection objects with > ScktSrvr.exe running on the remote machine. > > The BCB5 client will start the BCB5 app. server on the remote machine, but > errors out when the attempt is made to bind the dispatch interface to the > client. > > I have googled and newsgrouped myself to death and am not getting anywhere. > Every example I've found so far uses both client and app. server running on > the same machine. That works, but that's not what I want to do, and that's > not the purpose of this technology. I want to be able to run my client app. > from anywhere in the world. > > In case there's some doubt out there, I have two server licenses which make > it legal for me to install the app. server on two different file servers.
Technical Details
Message-ID:
<3B236E44.3E381203@salts.navy.mil>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!howland.erols.net!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnewsReferences:
<3b1f6a4c$1_2@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcd2b,3eef66f1de92b9af X-Google-Attributes: gidfcd2b,public X-Google-ArrivalTime: 2001-06-10 06:13:42 PST Message-ID: <3B236E44.3E381203@salts.navy.mil> Date: Sun, 10 Jun 2001 08:55:32 -0400 From: John Graham <jgraham@salts.navy.mil> Organization: SALTS Central X-Mailer: Mozilla 4.76 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.database.multi-tier Subject: Re: How to use the dispatch interface in BCB5 References: <3b1f6a4c$1_2@dnews> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 163.12.6.113 X-Trace: dnews 992177712 163.12.6.113 (10 Jun 2001 05:55:12 -0700) Lines: 48 Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!howland.erols.net!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews