Dlls within PHP

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • David Gillen

    Dlls within PHP

    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]
  • NC

    #2
    Re: Dlls within PHP

    On Nov 20, 2:00 am, David Gillen <bel...@RedBric k.DCU.IEwrote:
    >
    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:



    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

    Comment

    Working...