Re: Using COM

From: Date: Fri, 28 Sep 2001 02:58:49 +0000
Subject: Re: Using COM
References: 1 2  Groups: php.windows 
Request: Send a blank email to php-windows+get-9589@lists.php.net to get a copy of this message
In article <20010927084945.5944.qmail@pb1.pair.com>, crawley.storm@ntlworld.com (Crawley) wrote: >"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 > > Thanks Rich, However to access this IIS thing you need to do something like this: $iis = COM("IIS://localhost/w3scv"); Which is apparently only supported in 4.0.7. Thanks, David

« previous php.windows (#9589) next »