Hi Im compiling my c++ php extension on php 5.3 and visual c++ 2008 everything is ok and work fine, but I have to (and I force) to using php 5.2.9 and compile it via vc++ 2005.
I got this error during compile: *zend\zend_config.w32.h(38) : fatal error C1083: Cannot open include file: 'winsock2.h': No such file or directory* * * I changed my windows SDK include directory, set environment variables and.. But have still error. I compiled with vc++ 2008 and get another error: *microsoft visual studio 8\vc\include\sys\stat.inl(44) : error C2466: cannot allocate an array of constant size 0*