Re: Using COM
| From: | Crawley | Date: | Thu, 27 Sep 2001 08:49:06 +0000 |
| Subject: | Re: Using COM | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-9571@lists.php.net to get a copy of this message | ||
"David" <davidb@warpedweb.net> wrote in message
news:20010927040837.54836.qmail@pb1.pair.com...
> $adsi = new COM(server.object)
All you need is ...
$adsi = new COM( "comobjectname" );
$adsi->objectmethod();
try that, the only problem you might have is passing variables by
reference... to do that you can ONLY ( at present ) pass by refrence
variables of type VARIANT *. So check your interface.
You also might have trouble passing arrays - but when 4.0.7 comes out that
should be fixed.
Rich