Page 2 of 2

Posted: Mon Dec 15, 2003 4:39 pm
by Weirdan
Possibly the matter is: http://bugs.php.net/bug.php?id=25235

[edit]
just tested:

Code: Select all

$a=$api->registerfunction("int MessageBoxA (long hwnd,string &lpTitle,string &lpCaption,int uType) From User32.dll"); 
  $msg="qqq\0";
  $api->MessageBoxA(NULL,$msg);
It does pop message box (title contains crap, of course, and there are 3 buttons, but it works).

Tested on:
  • PHP/4.3.2 (CLI version)
  • WinXP Pro SP1
[/edit]
[one more edit]
PHP/4.3.4 behaves exactly the same
[/one more edit]

It a bug

Posted: Tue Dec 16, 2003 6:52 am
by Toune
Hi,

Your true , thank's : it a bug :? ...

Describe at http://bugs.php.net/bug.php?id=25235

My message box bug if I put the caption ...

But I don't know how set a value to the caption ... If you have an idea ! :P

Thank for your help

Toune