I have just ported all my code from Delphi 4 to Delphi 7, phew.

After changing to Delphi 7 I am experiencing some wierd problems with the Indy Components and Timers. There is a timer on the login form that reads the TCP Socket at intervals. Once the form is displayed, it connects to the server socket and then starts the Timer. The timer appears to get no CPU, almost like the socket is hogging it. Even with an AntiFreeze component on there it makes no difference?

If I step through the code it works If I halt the code in execution (letting it just run until the timer isn't responding), it's nearly always sat at NTWaitForSingleObject.

Any ideas?