Need help on fast cgi c++ configuration on windows

Hi everyone
I am new to nginx so really need u r help

My problem is that i set up niginx server on windows and it runs very
well
. But i want to run c++ programs i.e(.exe)
so i come accross fast-cgi lib then i compiled source successfully now i
have fast cgi wraper for .exe ie. cgi-fcgi.exe

now i changed in nginx.conf as

location ~ /fcgi/$ {
include fastcgi_params;
fastcgi_pass 127.0.0.1:3000;
}

and running it as http://localhost/fcgi/ in browser

it not working so i checked error log and i found
upstream prematurely closed connection

so any guess
thanks in advance

Posted at Nginx Forum:

Check your fastcgi code. Ensure that it is running properly. Have you
checked the logs of that process?

On Thu, Jan 24, 2013 at 10:23 AM, [email protected] <

yes i cheked it and now i am able to run it but not using cgi-fcgi.exe
using anothe wraper
there is problem in tht code due have any idea about what can be
problem
in cgi-fcgi.exe