Re: how to invoke c# API dll using php: COM?
| From: | Viola Holownia | Date: | Fri, 14 Sep 2007 05:22:38 +0000 |
| Subject: | Re: how to invoke c# API dll using php: COM? | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-28491@lists.php.net to get a copy of this message | ||
hey!
thanks for the respond,
I know how to handle that from php, but have no idea how to register
this dll and how to work with it (sorry that I wasn't more specific in
my previous post).
When I try to register this dll using:
>> regsvr32.exe WebLabAPI.dll - I get following error:
the module "WebLabAPI.dll" was loaded but the entry point
DLLRegisterServer was not found;
I do have install Visual Studio 2005 on Vista - no idea why I can't
register this dll :(
help!
many thanks!
viola
On 9/13/07, Ariz Jacinto <acjacinto@gmail.com> wrote:
> Hi Viola,
>
> have you tried this?
>
> $Obj = new COM("RegisteredDLLName.ObjectName") ;
> $Obj->foobar();
>
>
> Reference:
> http://us.php.net/manual/en/ref.com.php
>
> --
> Ariz Jacinto
>
>
>
>
> On 9/13/07, Viola Holownia <viola.holownia@gmail.com > wrote:
> > Does anybody knows how to invoke c# API dll using COM: php?
> >
> > Here is my short description: I have to use c# dll from php to call
> > some function and get back whatever these methods return.
> >
> > Don't really know how to start with that :(
> > Any help appreciated.
> >
> > Viola
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/ )
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
>