this is a common question... it should be in a FAQ somewhere...

The most flexible option is the win32 API functions, but note that they are experimental, and sometimes hard to set up and use, but pretty dang cool:

http://www.php.net/manual/en/ref.w32api.php

The most stable solution (definately not the fastest) is to write a C++ command line application as a wrapper for your DLL, and then make calls to it with 'system' or 'exec'. Rock solid.

--

Brian 'Bex' Huff
[EMAIL PROTECTED]
Phone: 952-903-2023
Fax: 952-829-5424

Hello Everybody,

    Can PHP call a DLL file? If so, do you know where I might be able to
find an example?

Thanks Again,
Brennan




--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to