[PHP-WIN] COM - accessing pointer variables

2001-09-18 Thread park
I have a method into my COM object specified as: HRESULT Get_Version_Str( [ in, out, size_is( size ) ] unsigned char *str, [ in ] unsigned long size ); now how do I call this from PHP ? I think that I need to create the arg's as VARIANT but I cant get it to work :( please help

Re: [PHP-WIN] COM - accessing pointer variables

2001-09-19 Thread park
obj->Release(); Unfortunatly, whenever I try creating a variable of type VARIANT ( even if its just ) $o = new VARIANT(); My script hangs, forever!!! Also I cant call Release - Its a member of IUnknown so I thought I would be able to ? All help will be apreciated. Park "Alain Samoun" &

Re: [PHP-WIN] COM - accessing pointer variables

2001-09-20 Thread park
n I call that from a IDispatch interface ? If not how DO I release my object 2. Can I pass strings - I read in the php.dev archive an article saying that array passing to COM wasnt implemented yet. Is it ? Please help if you can Park "Alain Samoun" <[EMAIL PROTECTED]> wrote

[PHP-WIN] Re: Com Help

2001-09-25 Thread park
o an object instance. It might be because the object your trying to use dosent support the IDispatch interface. ( in which case you need to find and add the type lib to you php.ini ) or it could be that it is a 'local server' COM object and it isnt running ( and didnt 'un-register&#x