Oh......thanks for the advise....
I was really looking at COM and DCOM to help increase my knowledge in these
areas.
I will STILL have a play, but only so I know I can get it working....
Thanks, Jeremy Coulter
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 21, 1999 09:25
To: Multiple recipients of list delphi
Subject: RE: [DUG]: DCOM in Delphi
After using COM objects in D3 and Automation Objects in D2 for about 3
years I can tell you quiet categorically -
DONT USE DCOM !!!!! EVER !!!!!!
With D3/4 you have the option of using the socket server. We have found
this to be as fast (if not faster) than DCOM, it works well on 95 and NT,
there is no NT security issues to worry about and it's simple. DCOM is a
pain in the rear at the best of times. I've never managed to get server
objects to "run as" a specific user under NT successfully, so you have to
leave the server logged in as a specific user. DCOM under 95 also requires
that the server objects are running as they will not auto-launch.
The downside of using sockets is that remote objects/servers have to be
implemented as Remote Data Modules which means you are using Midas but you
don't have to use TProvider - except for data access - so I don't know if
licensing is required.
If you want a demo some time, give me a call.
Cheers
"Jeremy Coulter" <[EMAIL PROTECTED]> on 21/01/99 07:00:21
Please respond to [EMAIL PROTECTED]
To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
cc: (bcc: Peter Jones/Logistics&Information
Technology/Christchurch/Foodstuffs)
Subject: RE: [DUG]: DCOM in Delphi
Ok, got that.
Now how do I uses it ?
Or does Windows deal with it ?
how can I test it....etc.
Cheers, Jerem Coulter
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Nic Wise
> Sent: Wednesday, January 20, 1999 22:43
> To: Multiple recipients of list delphi
> Subject: Re: [DUG]: DCOM in Delphi
>
>
> OK, I made a new app, then added a new Automation Object, and it made
> this
> in project1_TLB.pas:
>
> class function CoMyObject.Create: IMyObject;
> begin
> Result := CreateComObject(Class_MyObject) as IMyObject;
> end;
>
> class function CoMyObject.CreateRemote(const MachineName: string):
> IMyObject;
> begin
> Result := CreateRemoteComObject(MachineName, Class_MyObject) as
> IMyObject;
> end;
>
> :) Delphi 4 is better tho :)
>
> Nic.
>
>
> Jeremy Coulter wrote:
> >
> > I am res. new to COM in Delphi 3 (i.e. only did my first COM obj. last
> > night) so where do I do this "Create" thing ?
> >
> > Thansk, Jeremy Coulter
> >
> > -----Original Message-----
> > From: Nic Wise [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, January 20, 1999 14:26
> > To: Multiple recipients of list delphi
> > Subject: Re: [DUG]: DCOM in Delphi
> >
> > Should be - you use createRemote(machine name) instead of Create() I
> > think. Look at the bottom of the created unit and see whats there - I
no
> > longer have D3 on any machine, otherwise I'd check.
> >
> > D4 is another matter. I _know_ it does it, 'cos I've used it. And it
> > works nice. (well, exactly the same as any other com object - just
> > specify the machine name :) )
> >
> > Nic.
> >
> > Jeremy Coulter wrote:
> > >
> > > Hi all. Is it Poss. to do DCOM in Delphi 3 ?
> > >
> > > Cheers,
> > >
> > > Jeremy Coulter
> > > Software Developer
> > > Application Development Centre
> > > Compaq Computer New Zealand Ltd.
> > >
> > > Phone: 64 3 371 5761
> > > Fax: 64 3 371 5747
> > > E-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> ------------------------------------------------------------------
> ---------
> > > New Zealand Delphi Users group - Delphi List -
> [EMAIL PROTECTED]
> > > Website: http://www.delphi.org.nz
> >
> ------------------------------------------------------------------
> ---------
> > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> > Website: http://www.delphi.org.nz
> >
> ------------------------------------------------------------------
> ---------
> > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> > Website: http://www.delphi.org.nz
> ------------------------------------------------------------------
> ---------
> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
>
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz