FastCGI CPP Win32. Cannot compile fcgi-test.cpp from cgicc

Igor <[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel
Organization ROL
Message-ID <[email protected]>
Hello fastcgi-developers,

  I can't compile fcgi-test.cpp from cgicc package under VC7. It looks like
  there is a problem with vftable or something.
  
  It keeps telling me
  fast_cgi_attemtp error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall cgicc::FCgiIO::FCgiIO(struct FCGX_Request &)" (__imp_??0FCgiIO@cgicc@@QAE@AAUFCGX_Request@@@Z) referenced in function _main
  fast_cgi_attemtp error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall cgicc::FCgiIO::~FCgiIO(void)" (__imp_??1FCgiIO@cgicc@@UAE@XZ) referenced in function _main
  .....
  12 errors

  Makefile.in is useless under win32. Could anyone give me a clue as to
  how to fix the linkage problem. It looks like VC7 cannot redefine
  virtual functions defined in the cgicc.lib. I have no idea what
  compiler flags could fix it.

  Good news - FastCGI/CPP is working fine under Win32. It is pity
  cgicc cannot handle FastCGI internally, especially after streams are
  redefined:
  cin  = &cin_fcgi_streambuf;
  cout = &cout_fcgi_streambuf;
  cerr = &cerr_fcgi_streambuf;

  Is there any other way to make FastCGI work with cgicc?

-- 
www.rol.ru
Best regards,
 Igor                          mailto:[email protected]

___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.