🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.multi-tier
Article #350

AppServer Bind through COM+

#350
From: Andy
Date: Thu, 15 Nov 2001 20:14
26 lines
1792 bytes
I'm not really sure if this is the right place but here goes.

I had a MIDAS AppServer (EXE) that had some additional methods 
defined and I connected and used these methods from the client
by binding to the dispatch interface (using Bind),

	AppServer = new ITMDbRDMDisp ();
	AppServer->Bind (DCOMConnection->GetServer ());
	AppServer->xyz ();

All worked fine.  However, I have now converted the AppServer 
to a DLL and installed it into Component Services (win2k) COM+.
Now, whenever I Bind, it fails.  I don't get an error but 
IsBound returns false.  All subsequent calls to the AppServer
fail with an assertion (understandably).

The questions,

How do I bind to the dispatch inteface of a DLL running within
COM+?
Or in fact, is this not the correct way to call my methods?

Any suggestions greatly appreciated.

Andy
Technical Details
Message-ID: <3bf4223f$1_2@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!btnet-peer0!btnet-peer!btnet!newspeer.clara.net!news.clara.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.fh-hannover.de!news.uni-stuttgart.de!nntp.cs.uni-magdeburg.de!PeerFeed.KWeb.on.ca!dnews

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fcd2b,dd3cea6be75e8cca,start
X-Google-Attributes: gidfcd2b,public
X-Google-ArrivalTime: 2001-11-15 12:17:00 PST
From: "Andy" <andy@iola.co.uk>
Sender: "Andy" <andy@iola.co.uk>
Reply-To: "Andy" <andy@iola.co.uk>
Subject: AppServer Bind through COM+
Newsgroups: borland.public.cppbuilder.database.multi-tier
X-User-Info: 159.235.50.12 159.235.50.12    
NNTP-Posting-Host: 207.105.83.65
Message-ID: <3bf4223f$1_2@dnews>
Date: 15 Nov 2001 12:14:55 -0800
X-Trace: dnews 1005855295 207.105.83.65 (15 Nov 2001 12:14:55 -0800)
Lines: 27
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!btnet-peer0!btnet-peer!btnet!newspeer.clara.net!news.clara.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.fh-hannover.de!news.uni-stuttgart.de!nntp.cs.uni-magdeburg.de!PeerFeed.KWeb.on.ca!dnews