I am using Visual Studio 2003 and qt 4.2.0.I am using a dll that written to access MSSQL Server database with qt libraries.

Executable of the project runs properly on my pc. It exeutes a stored procedure and retrieves the results in a few seconds.
But when i try it on another pc it takes 40 seconds to retrieve the database records(by executing the same stored proceudre.).

I debugged the project and realized taht it is the
QApplication a(argc, argv);
line that takes the approximately 40 seconds.

Anybody has any idea which setting causes that delay?