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

Reply via email to