Kerry gave me an Idea...why not look in the registry, so I did, and I hve
found my answer....the IP addess IS stored in the registry.....so..leave me
alone, I am sick....my brain isn't working right today.....
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Jeremy Coulter
> Sent: Friday, August 06, 1999 10:01
> To: Multiple recipients of list delphi
> Subject: RE: [DUG]: DCOM and NT
>
>
> ok, best explain better....the IP address is in the DCOMCNFG.EXE settings,
> not the program.....thats what I was meaning, can it chang eth
> DCOMCNFG.EXE
> setting progmatically??
>
> Cheers, Jeremy Coulter
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> > Behalf Of Kerry Sainsbury
> > Sent: Friday, August 06, 1999 09:51
> > To: Multiple recipients of list delphi
> > Subject: RE: [DUG]: DCOM and NT
> >
> >
> > --- Jeremy Coulter <[EMAIL PROTECTED]> wrote:
> >
> > > I.e. at the moment, on the remote machine I have an IP address hard
> > > coded
> > > into it where the DCOM server is, (the machine where it is).
> > > Now, if thatIP addres changes, can I progmatically change thatIP
> > > address ?
> >
> > You could read the IP address in from an ini file, or a registry
> > setting, or pass it as an argument to the program.
> >
> > You never need to hardcode -- it just bites you later anyway.
> >
> >
> > _______________________________________________________________
> > DO YOU YAHOO!?
> > Get your free @yahoo.com.au address at http://mail.yahoo.com.au
> >
> > ------------------------------------------------------------------
> > ---------
> > 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