[FASTCGI] Compilation error in "FastCGI using C"

sauda.furkhana at wipro.com sauda.furkhana at wipro.com
Thu Aug 27 06:04:59 EDT 2009



Can someone help me out with this? I'm getting "error C2065:
'FCGI_Accept' : undeclared identifier" when I try to compile the code


#include "fcgi_stdio.h"

#include "fcgiapp.h"

#include <stdlib.h>

#include "stdafx.h"


int main(int argc, char* argv[])


            while (FCGI_Accept() >= 0)


                        printf("Hello World!\n");


            return 0;




1) Build environment: MS VC++ 6.0

2) Downloaded the FastCGI SDK from http://www.fastcgi.com/drupal/node/5.
Unzipped the contents to "C:\Program Files\fcgi-2.4.0".

3) Downloaded libfcgi.dll from:

4) Downloaded "dll to lib" software from
"http://www.binary-soft.com/download.htm" -  converted libfcgi.dll
<http://www.binary-soft.com/download.htm>  to libfcgi.lib and placed at
"C:\Program Files\Microsoft Visual Studio\VC98\Lib"

5) IDE Settings: 

Tools->Options->Directories->IncludeFiles has entry pointing to
C:\Program Files\fcgi-2.4.0\Include

Tools->Options->Directories->LibraryFiles has entry pointing to
C:\Program Files\Microsoft Visual Studio\VC98\Lib 





Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.pins.net/mailman/private.cgi/fastcgi-developers/attachments/20090827/2cc695b9/attachment.html>

More information about the FastCGI-developers mailing list