Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 May : Re: Delphi 2005 Personal and Indy 10.0.75: Indy don't work!!!

www.cryer.info
Managed Newsgroup Archive

Re: Delphi 2005 Personal and Indy 10.0.75: Indy don't work!!!

Subject:Re: Delphi 2005 Personal and Indy 10.0.75: Indy don't work!!!
Posted by:"Jamie Dale" (j.da..@turboz.net)
Date:Fri, 2 Jun 2006 23:13:48

>
>> I forgot to say that sometimes if I restart it (instead of stopping
>> and starting it) then it detects my IP has changed every 5 seconds
>> for some very odd reason.
>
> Sounds like a bug in the way your code is tracking the IPs.

Nope, because I basically compare the 2 IP's using the If IP <> IP2
then.......
Obviously the 2 IP's should be the same! - Not different every 5 seconds
which is what seems to be happening for some strange reason. It only happens
when run as a service so you imagine how hard it is to debug and catch whats
going on - It's impossible. Thats why I built it as a GUI application so I
could test it and then deploy it with a service component allowing it to run
as a system service.
>
>> The program doesn't seem to update itself correctly with my
>> connections current IP address. I do not know whats happened
>> but it only appears to execute random lines of code.
>
> Sounds like a faulty compile.

Thats exactly what I thought to start off with too. But the problem is (as
already mentioned) it works fine on this machine. I then copy and paste the
working version onto the C: drive of the 2nd PC and it suddenly buggered. I
honestly do not know what is affecting it but it's really rubbing me up the
wrong way...

J

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive