unread
I use MVC 6 to get my extension compiled, but when it linked, the IDE issued
the following error:
myfile.obj : error LNK2001: unresolved external symbol _executor_globals_id
Release/php_myfile.dll : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
my code is simple:
PHP_FUNCTION(create_var)
{
zval *new_long =NULL;
if( ZEND_NUM_ARGS() !=0 )
WRONG_PARAM_COUNT;
MAKE_STD_ZVAL(new_long);
new_long -> type = IS_LONG;
new_long -> value.lval = 100;
ZEND_SET_SYMBOL(EG(active_symbol_table),"new_long_name",new_long);
RETURN_TRUE;
}
I already included php4ts.lib into my IDE. I need you help thank you!
--
please visit my blog http://blog.csdn.net/taft