Have you tried compiling the app as a Win32 app? Console applications
under Win32 have a number of problems and are very slow when called
by a system service as is typical as CGI calls from a Web server.
What Web Server and which version of VC++?
+++ Rick ---