error compiling example-extension

From: Date: Thu, 18 Jul 2002 12:06:39 +0000
Subject: error compiling example-extension
Groups: php.windows 
Request: Send a blank email to php-windows+get-14833@lists.php.net to get a copy of this message
hi there, i tried to compile the example-extension from the manual under Win32 with VC++ 6.0, but i get these error-messages: ------------ test.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) int __cdecl zend_parse_parameters(int,void * * *,char *,...)" (__imp_?zend_parse_parameters@@YAHHPAPAPAXPADZZ) Release/mod_test2.dll : fatal error LNK1120: 1 unresolved external link ------------ this is my header-file: #ifndef PHP_TEST_H #define PHP_TEST_H #ifndef PHP_WIN32 #define PHP_WIN32 #endif #ifndef ZEND_WIN32 #define ZEND_WIN32 #endif #ifndef ZEND_DEBUG #define ZEND_DEBUG 1 #endif #ifndef COMPILE_DL_FIRST_MODULE #define COMPILE_DL_FIRST_MODULE #endif #ifndef ZTS #define ZTS #endif #endif -------------------- have i forgotten to define something ?? hope someone can help me. greets, marco

« previous php.windows (#14833) next »