Connecting Tech Pros Worldwide Help | Site Map

Dlls within PHP

  #1  
Old November 20th, 2008, 10:05 AM
David Gillen
Guest
 
Posts: n/a
I've a dll which contains an API to a document server. The documentation talk
about in MS Visual studio adding a reference to the dll in the under COM
objects.

What I'm wondering is there anyway in PHP to load the DLL and make use of it's
API functionality?

D.
--
[insert first line here]
[insert the second line here]
[insert third line here]
  #2  
Old November 20th, 2008, 11:15 AM
NC
Guest
 
Posts: n/a

re: Dlls within PHP


On Nov 20, 2:00 am, David Gillen <bel...@RedBrick.DCU.IEwrote:
Quote:
>
I've a dll which contains an API to a document server. The documentation
talk about in MS Visual studio adding a reference to the dll in the under
COM objects.
>
What I'm wondering is there anyway in PHP to load the DLL and make use
of it's API functionality?
There's more than one way it can be done. First, if you are running
PHP
on a Windows server, you can call the COM objects directly:

http://php.net/COM

Alternatively, you may be able to wrap your DLL into a PHP extension,
which
will also require that PHP be running on a Windows machine.

If PHP must run on a non-Windows platform, you may be able to expose
the
API as a Web service, but that will have to be done in whatever
language
the server on which the DLL resides supports.

Cheers,
NC
Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
Php (4.4) configured to open secure URLs (https)? Chuck Anderson answers 4 October 13th, 2005 08:15 AM
Using a native Windows-DLL from PHP? O. Hauger answers 2 July 17th, 2005 12:49 PM
php-4.3.4-Win + Apache2 + XP Ad Astra answers 5 July 17th, 2005 05:02 AM