Jump to content
The Uniform Server Community

richard

Member
  • Content Count

    3
  • Joined

  • Last visited

Community Reputation

0 Neutral

1 Follower

About richard

  • Rank
    Newbie

Previous Fields

  • Main OS
    Windows XP
  1. thanks for your help, i decided just to write a COM class to access the win32 api functions and then using that in my php file
  2. is there any other way to access the win32 API using PHP?
  3. when i load the page i get an error saying: Warning: dl() [function.dl]: Not supported in multithreaded Web servers - use extension=php_w32api.dll in your php.ini in Z:\www\win32_test.php on line 2 Fatal error: Call to undefined function w32api_register_function() in Z:\www\win32_test.php on line 3 i already made sure the line "extension=w32api.dll" is uncommented and the dl() function is enabled in the php.ini file and the actual w32api.dll IS in my extensions folder. here's my code: function mBox() { dl("php_w32api.dll"); w32api_register_function("User32.dll","MessageBoxA","long"); MessageBoxA(NULL, $str, "blahblahblah", MB_OK); }
×
×
  • Create New...