Creating modules for PHP4/Win32

From: Date: Thu, 04 Jan 2001 14:03:34 +0000
Subject: Creating modules for PHP4/Win32
Groups: php.dev 
Request: Send a blank email to php-dev+get-42928@lists.php.net to get a copy of this message
Hi! I need to create a new module/extension for use with PHP4 in a Win32 environment, but I can't find any information about this. All information that I can find is for Unix. Anoboy knows where can I find information about this ? I'm trying to use the supplied modules with the PHP4 source code, but I'm getting some errors when I try to compile it: d:\archivos de programa\microsoft visual studio\vc98\include\ios.h(258) : error C2491: 'dec' : definition of dllimport function not allowed d:\archivos de programa\microsoft visual studio\vc98\include\ios.h(259) : error C2491: 'hex' : definition of dllimport function not allowed d:\archivos de programa\microsoft visual studio\vc98\include\ios.h(260) : error C2491: 'oct' : definition of dllimport function not allowed d:\archivos de programa\microsoft visual studio\vc98\include\istream.h(175) : error C2491: 'ws' : definition of dllimport function not allowed e:\php-4.0.4\ext\standard\php_string.h(115) : error C2440: '=' : cannot convert from 'void *' to 'char *'
        Conversion from 'void*' to pointer to non-'void' requires an explicit cast
The last error is an error in the PHP include headers! I'm using Visual C++ 6 (SP4) in a Windows 2000 Professional environment. Any ideas ? Thanks!

« previous php.dev (#42928) next »