ID: 21016 Comment by: jwang2 at go2uti dot com Reported By: info at frenck dot nl Status: Bogus Bug Type: *Extensibility Functions Operating System: Windows 2000 PHP Version: 4.3.0RC3 New Comment:
Fatal error: Call to undefined function: w32api_register_function() in c:\www\test01.php on line 10 Previous Comments: ------------------------------------------------------------------------ [2003-03-11 14:58:51] gk at gknw dot de Hey, now three months later and still no docu, no working sample or something else???? Is it that hard thing to modify the sample for the new extension??? G. ------------------------------------------------------------------------ [2002-12-14 13:07:00] [EMAIL PROTECTED] The API of this experimental extension has changed. Not a bug -> bogus. ------------------------------------------------------------------------ [2002-12-14 13:02:53] info at frenck dot nl I've installed PHP4.3.0RC3 (altough, all 4.3.0 releases have te same problem). I've set the php.ini file for use with the w32api extension. But, it seem not to load the extension correctly. The phpinfo() shows it is loaded: Win32 API Support Enabled But when I call one of the functions of the w32api, than I get a undefined function error. This produces an undefined function error: w32api_register_function ("User32.dll", "MessageBoxA", "long"); I've printed a function list with get_defined_functions(). An found none of the w32api functions. I've even tried to load it trough dl() and tried it with apache 1.3.20 (sapi module), but the problem remains. After installing 4.2.2 again, everything work fine again. Seem to me that there is something wrong there... ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21016&edit=1