Has anyone tried using the PHP win32api call functions in PHP 4.2
I am running Apache/2.0.35 (Win32) with PHP/4.2.0RC4 on WinNT4
and evry time I try to register a win32 api call Apache just crashes.
the code that I am trying to run is:
Code:
<?php
w32apiregisterfunction("user32.dll", "FindWindowA", "long");
w32apiregisterfunction("user32.dll", "SendMessageA", "long");
$hwndWinamp = FindWindowA("Winamp v1.x",NULL);
$sucess = SendMessageA($hwndWinamp,40047,0,0);
;?>
I've also tried the example that has been posted on the PHP documentation site, but that also crashes Apache.
any ideas?
No one has replied yet! Why not be the first?
Sign in or Join us (it's free).