note 42809 added to ref.w32api
| From: | serdar_soydemir at hotmail dot com | Date: | Sun, 30 May 2004 14:34:41 +0000 |
| Subject: | note 42809 added to ref.w32api | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-70305@lists.php.net to get a copy of this message | ||
It seems that this extension will be replaced by FFI extension in PHP5. FFI stands for "Foreign
Function Interface" and it's not limited by Windows API, but also supports Linux APIs. You
may reach this extension's website at http://pecl.php.net/package/ffi . For Windows, you may
try this code from commandline php.exe:
<?php
dl ("php_ffi.dll");
$windows = new ffi ("[lib='user32.dll'] int MessageBoxA( int handle, char *text, char
*caption, int type );" );
echo $windows->MessageBoxA(0, "Message For You", "Hello World", 1);
?>
----
Manual Page -- http://www.php.net/manual/en/ref.w32api.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+42809
Delete -- http://master.php.net/manage/user-notes.php?action=delete+42809&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+42809&report=yes
Search -- http://master.php.net/manage/user-notes.php