O. Hauger wrote:
Hello,
I've an existing Windows-dll which I want to use within PHP. Is there
something similar to Java's "JNI" in PHP. Or do I have to make a
PHP-Extension from my existing DLL?
Thanks in advance!
Oliver
Hi Oliver,
Have a look at exec and the like:
http://nl2.php.net/manual/en/ref.exec.php
and also: passthru (If you need to capture any output produced)
Think commandline.
If you can define some commandline statement, you can feed it to PHP.
I don't think you can call a DLL directly, so you probably need to
find/write some wrapper.
Hope that helps.
Or maybe when you read through the documentation you find what you need.
(Not my area of expertice. :P)
Good luck,
Erwin Moller