RE: [PHP4BETA] Instancing COM classes
| From: | Garcia, Gabriel | Date: | Mon, 29 Nov 1999 22:00:58 +0000 |
| Subject: | RE: [PHP4BETA] Instancing COM classes | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-7074@lists.php.net to get a copy of this message | ||
But in command line mode it work's fine.
-----Mensaje original-----
De: Garcia, Gabriel [mailto:GarciaG@origenes.com.ar]
Enviado el: Lunes 29 de Noviembre de 1999 18:57
Para: 'zeev@zend.com'
CC: php4beta@lists.php.net
Asunto: RE: [PHP4BETA] Instancing COM classes
I'm using Apache 1.3.9
BTW, I was trying against an ActiveX DLL and it worked fine.
-----Mensaje original-----
De: Zeev Suraski [ mailto:zeev@zend.com <mailto:zeev@zend.com> ]
Enviado el: Lunes 29 de Noviembre de 1999 18:59
Para: Garcia, Gabriel; php4beta@lists.php.net
Asunto: Re: [PHP4BETA] Instancing COM classes
It means that for some reason, the COM server that was supposed to provide
this object failed running. This could be due to a zillion different
reasons, most of which unfortunately I don't know. It might have to do
with permissions. Do you try doing that from IIS or do you do that using
php.exe interactively?
Zeev
At 23:49 29/11/1999 , Garcia, Gabriel wrote:
>Hi:
>
>I have a currently working ActiveX server (*.EXE) and when I'm trying to
>instantiate it from PHP, I get the following message.
>
>Warning: Unable to obtain IDispatch interface for CLSID
>{FC652258-A6A3-11D3-A037-00105A28F8EB}: Ejecución de servidor fallida in
>d:\archivos de programa\apache\htdocs\com.php4 on line 2
>
><?php
>$dbo = new COM("ARTSNV11.Servidor") or die("Can't create
ARTSNV11.Servidor");
>$ver = $dbo->VersionServidor;
>echo $ver;
> >
>
>What's wrong with it?
--
Zeev Suraski <zeev@zend.com> http://www.zend.com/ <http://www.zend.com/>
--
PHP 4.0 Beta Mailing List < http://www.php.net/version4/
<http://www.php.net/version4/> >
To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net
For additional commands, e-mail: php4beta-help@lists.php.net
To contact the list administrators, e-mail: php4beta-admin@lists.php.net