[PHP-WIN] COM object - how do I specify the interface to extract

2001-09-14 Thread Crawley
Im playing around with custom COM objects ( my one currently has one method, which returns a 'long' ), I have tested the object from a 'C++' client and am still fighting to get the interface pointer out? ... its written in ATL and I cant see why its not responding correctly when I call QueryInter

[PHP-WIN] Re: Using COM

2001-09-27 Thread Crawley
"David" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > $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

[PHP-WIN] Re: Using COM

2001-09-30 Thread Crawley
"David Broker" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Rich, > Microsoft claims (in the IIS help) that this is an object which you can access > with any language which supports COM. > > In the VBscript found on any Win2K server it is called like this: >

[PHP-WIN] Re: Using COM

2001-09-28 Thread Crawley
"David Broker" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > 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. Hum, now Im not shure wh