note 14328 deleted from class.com.php by phanto

From: Date: Tue, 14 Aug 2001 00:28:53 +0000
Subject: note 14328 deleted from class.com.php by phanto
Groups: php.notes 
Request: Send a blank email to php-notes+get-16668@lists.php.net to get a copy of this message
PHP can send data to the COM function but can not get data back. If the COM function were declared as HRESULT foo(Bstr msg, short p1, long p2); Which the foo() will change the value of msg, p1, and p2. Use either com_invoke(OBJ, foo, $msg,$p1,$p2 ) or $obj->foo($msg,$p1,$p2) would not work. The return value is 0 but the msg, p1 and p2 will be NULL.

« previous php.notes (#16668) next »