Re: Re: Using COM

From: Date: Fri, 28 Sep 2001 16:36:53 +0000
Subject: Re: Re: Using COM
References: 1 2 3  Groups: php.windows 
Request: Send a blank email to php-windows+get-9601@lists.php.net to get a copy of this message
I must be missing something here, >$iis = COM("IIS://localhost/w3scv"); >Which is apparently only supported in 4.0.7.> What does this COM function do David? Alain On Fri, Sep 28, 2001 at 02:58:49AM +0000, David Broker wrote: > 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 > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net > For additional commands, e-mail: php-windows-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.windows (#9601) next »