[PHP-DEV] Bug #11755: Can't pass array to COM obj

2001-06-28 Thread heejung73

From: [EMAIL PROTECTED]
Operating system: Windows 2000
PHP version:  4.0.6
PHP Bug Type: COM related
Bug description:  Can't pass array to COM obj

i can't pass an array to my com object. 

the object works fine w/ ASP: 
Dim X(10); 
Obj.X = X; 

when i try to do the same w/ PHP, i get the following errors (b.t.w., i have no 
problems passing scalar values): 

Warning: PropPut() failed: Exception occurred. in xxx.php on line 90 
or 
Warning: Unsupported variant type: 8204 (0x200C) in xxx.php on line 237 

i tried using VARIANT & that didn\'t seem to help... 

The interfaces in my idl file looks like this: 
[propput, id(32), helpstring(\"property X\")] HRESULT X([in] VARIANT newVal); 
[propget, id(32), helpstring(\"property X\")] HRESULT X([out, retval] VARIANT *pVal); 


any help or clue would be greatly appreciated. 

thanks! 




-- 
Edit Bug report at: http://bugs.php.net/?id=11755&edit=1



-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #11760: VT_ARRAY not supported

2001-06-28 Thread heejung73

From: [EMAIL PROTECTED]
Operating system: Windows 2000
PHP version:  4.0.6
PHP Bug Type: COM related
Bug description:  VT_ARRAY not supported


hi, 

the following line of code 
  $vXXX = new VARIANT($XXX, VT_ARRAY|VT_BYREF);

results in
  Warning:  Type not supportet or not yet implemented

please let me know if this is a real bug or if i'm doing something wrong.  i hope i'm 
doing something wrong coz i really need this to work!

thanks...





-- 
Edit Bug report at: http://bugs.php.net/?id=11760&edit=1



-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #11602: com_invoke, com_load, com_release cause fatal error

2001-06-21 Thread heejung73

From: [EMAIL PROTECTED]
Operating system: Win2000
PHP version:  4.0.5
PHP Bug Type: *Function Specific
Bug description:  com_invoke, com_load, com_release cause fatal error

using the following functions: com_invoke, com_load, com_release results in "Fatal 
error: Call to undefined function"



-- 
Edit Bug report at: http://bugs.php.net/?id=11602&edit=1



-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]