🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: DCOM problem

#1852
From: alexdg
Date: Thu, 28 Jan 1999 00:00
79 lines
3113 bytes
Hi,

Try using the MidasConnection instead of the RemoteServer object on
your clientapp, and use it with borland3/bin/scktsrv.exe on the server
machine.

The only problem I have is getting the data on the client side to be
correctly refreshed whenever the database is altered... i wanted this
activision to be triggered on the server side.


Tanveer Khan wrote:
> 
> Actually I do not get an error. As a matter of fact I can not call a
> function!
> This is what happens:
> I start the client on dev-machine.
> launch the server on remote machine fom my client app.
> call a function and nothing happens.
> Do you have any idea what could be wrong?
> Thanks a bunch for all the help.
> Tanveer
> 
> Microsoft VB News Group wrote in message <77lk1s$1hj3@forums.borland.com>...
> >What's the error you get?  Does your DCOM server use any resource from your
> >local machine?
> >
> >
> >Tanveer Khan wrote in message <775flc$htl14@forums.borland.com>...
> >>Thanks for the reply Tom.
> >>I have tried the DCOMCONFG and set all the permissions(launch/access/..)
> to
> >>everyone. It still does not do anything. I can launch a server from a
> >client
> >>machine but can not use any of the functions.
> >>Any other ideas??
> >>Thanks indeed.
> >>Tanveer
> >>
> >>Tanveer Khan wrote in message <76b3p6$pj110@forums.borland.com>...
> >>>Hi All,
> >>>I am trying to use the Calvert's Unleashed DCOM client/server example
> (the
> >>>one with the square() method in it) on a NTWS and an NT server. It seems
> >to
> >>>be working great when I have both the client/server on one machine
> >however,
> >>>when I put the server on  a machine across the network, my client (with
> >the
> >>>help of that machine's IP address) can launch the server form a client
> >that
> >>>is sitting on my NTWS machine but can not use any of the functions
> exposed
> >>>by the server.  It seems like when the application is distributed across
> >>the
> >>>network I can not get  the correct interface handle ??
> >>>Am I suppose to change the access control  on the server side??
> >>>What am I doing here wrong... can anybody help.
> >>>Thanks in advance.
> >>>Tanveer khan
> >>>
> >>>
> >>
> >>
> >
> >

-- 
===============================
Alexandre Domingues Gon�alves
EMAIL: alexdg@sbd.telepac.pt
PGP: Public key on request
TMN: 0936 2326732
-------------------------------
W I Z - Servi�os Internet LDA
WEB: http://www.wiz.pt
TEL: +351 1 464-9004/5
FAX: +351 1 464-9006
===============================
Technical Details
Message-ID: <36B0CD34.274CEF29@bdsns2.telepac.pt>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: fcd2b,dd27cd0eaaa3f391,start
X-Google-Attributes: gidfcd2b,public
From: alexdg <alexdg@bdsns2.telepac.pt>
Subject: Re: DCOM problem
Date: 1999/01/28
Message-ID: <36B0CD34.274CEF29@bdsns2.telepac.pt>
X-Deja-AN: 438084577
Content-Transfer-Encoding: 8bit
To: Tanveer Khan <khant@bisys.com>
X-Accept-Language: en
Content-Type: text/plain; charset=iso-8859-1
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.cppbuilder.database.multi-tier