RE: [PHP] Accessing DLL from PHP

2005-06-03 Thread Shaw, Chris - Accenture
If the ffi route doesn't work, just create a COM wrapper for the simple DLL, then you can map any functions you need. -Original Message- From: Rory McKinley [mailto:[EMAIL PROTECTED] Sent: 03 June 2005 11:17 To: php-general@lists.php.net Cc: Rory Browne Subject: Re: [PHP] Accessin

Re: [PHP] Accessing DLL from PHP

2005-06-03 Thread Rory McKinley
Rory Browne wrote: > Just bare in mind, that I've never used ffi, and it's still alpha > code, and I'm not taking any blame it causes your dog to > explode. That's ok, I am sure there is no chance...rover, rover,what's the matter boy? (Sound of dog exploding) No

Re: [PHP] Accessing DLL from PHP

2005-06-03 Thread Rory Browne
On 6/2/05, Rory McKinley <[EMAIL PROTECTED]> wrote: > Richard Davey wrote: > > > If the DLL has a COM interface then you can use PHP to talk to it, the > > process is actually quite straight forward (depending on what the DLL > > actually does of course). > > > > Best regards, > > > > Richard Dave

Re: [PHP] Accessing DLL from PHP

2005-06-02 Thread Rory McKinley
Richard Davey wrote: > If the DLL has a COM interface then you can use PHP to talk to it, the > process is actually quite straight forward (depending on what the DLL > actually does of course). > > Best regards, > > Richard Davey Hi Richard Rory (the other one ;) ) also mentioned a COM interf

Re[2]: [PHP] Accessing DLL from PHP

2005-06-02 Thread Richard Davey
Hello Angelo, Thursday, June 2, 2005, 1:55:01 PM, you wrote: AZ> perhaps the system command is what you are looking for? For calling functions within a DLL?? I don't think so. All system() does is to execute a command/executable. If the OP was to interface with this DLL from an exe, then this w

Re: [PHP] Accessing DLL from PHP

2005-06-02 Thread Richard Davey
Hello Rory, Thursday, June 2, 2005, 11:53:56 AM, you wrote: RM> I have RTFM, and I am still busy STFW and STFA, but the little bit RM> that I have found has lead me towards trying to understand COM RM> (eek!). Before I go down that particular garden path, I would like RM> to know if there is any

Re: [PHP] Accessing DLL from PHP

2005-06-02 Thread Angelo Zanetti
perhaps the system command is what you are looking for? its in the manual. just search in the manual for it... Hope this helps Angelo Zanetti Z Logic www.zlogic.co.za Rory McKinley wrote: >Hi list > >I do not have much programming experience outside some PHP stuff so >please excuse a stupid

Re: [PHP] Accessing DLL from PHP

2005-06-02 Thread Rory Browne
I'm not too sure, but that sounds like a job for ffi. I think you'll find ffi at pecl.php.net, although, be warned that I've never used ffi, nor have I read any reports as to how well it worked. On 6/2/05, Rory McKinley <[EMAIL PROTECTED]> wrote: > Hi list > > I do not have much programming exper

[PHP] Accessing DLL from PHP

2005-06-02 Thread Rory McKinley
Hi list I do not have much programming experience outside some PHP stuff so please excuse a stupid question: I have a DLL provided to me by a third-party with a small bit of documentation regarding its structure and methods. The DLL caculates event costs based on parameters passed to it. I would