hi I need some help please.I have beeen tyring to compile a PHP Dynamic Extension( for PHP 5.3.3 - that is the source code i have),but whenever I try to do so, the following errors come up, especially if I use the RETURN_STRING() Macro. I have tried RETURN_LONG() Macro and it worked just fine. You may wish to know that I am using Visual C++ express edition Beta.I have also included my source code. ERROR MESSAGE: ------ Build started: Project: hello, Configuration: Release_TS Win32 ------ Linking... Creating library php5ts.lib and object php5ts.exp hello_src.obj : error LNK2019: unresolved external symbol __imp___estrndup referenced in function _zif_hello_world Release_TS/php_hello.dll : fatal error LNK1120: 1 unresolved externals Build log was saved at "file://c:\work\php-5.0.3\ext\hello\Release_TS\BuildLog.htm" hello - 2 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== hxtol3LQqY SOURCE CODE /***********************************************************************************************************************************/ /* include standard header */ /* you will need to include this in all of your php extension projects*/ #include "php.h" /* All the functions that will be exported (available) must be declared */ ZEND_FUNCTION(hello_world); PHP_MINFO_FUNCTION(hello); /* Just a basic int to be used as a counter*/ int i; /* function list so that the Zend engine will know what?s here */ zend_function_entry hello_functions[] = { ZEND_FE(hello_world, NULL) {NULL, NULL, NULL} }; /* module information */ zend_module_entry hello_module_entry = { STANDARD_MODULE_HEADER, "Hello World", hello_functions, NULL, NULL, NULL, NULL, PHP_MINFO(hello), NO_VERSION_YET, STANDARD_MODULE_PROPERTIES }; #if COMPILE_DL_HELLO_WORLD ZEND_GET_MODULE(hello_module) #endif PHP_MINFO_FUNCTION(hello) { /*php_info_print_table_start(); php_info_print_header(2, "First column", "Second column"); php_info_print_table_row(2, "DevArticles Extension", "All Systems Go"); php_info_print_table_row(2, "Just to fill Extension", "All Systems Go"); php_info_print_table_end(); */ /*php_info_print_table_start(); php_info_print_table_header(2, "First column", "Second column"); php_info_print_table_row(2, "Entry in first row", "Another entry"); php_info_print_table_row(2, "Just to fill", "another row here"); php_info_print_table_end();*/ } ZEND_FUNCTION(hello_world) { /*RETURN_LONG(12345); THIS WORKED*/ /*RETURN_RESOURCE("KWACHA"); THIS WORKED*/ RETURN_STRING("Hello world", 1); } --------------------------------- Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard.