I have an application written in a language called magic. This application uses MSSQL Server. When it is deployed where the client is on vista machine, and the server is on a remote machine, the performance is dramatically degraded.
When that same application is used from an XP client, with the db on remote machine – the performance is ok.
Also when the server and client are both on a vista machine, it works ok.

This makes me think that it's some kind of network protocol problem, but I can't seem to solve it.

Help will be appreciated

Note that the vista is 64 bit, and that the application is 32bit