RE: [PHP4BETA] Win32 COM

From: Date: Thu, 02 Dec 1999 18:57:46 +0000
Subject: RE: [PHP4BETA] Win32 COM
Groups: php.version4 
Request: Send a blank email to php-version4+get-7256@lists.php.net to get a copy of this message
For things that are properties you must use the $gen->name = "foo" syntax, rather than $gen->name("foo") syntax. The first is more normal, but the second should work also. The situation is retreiving the value. Similar problem. Thanx. Peter -----Original Message----- From: zeev@zend.com [mailto:zeev@zend.com] Sent: Thursday, December 02, 1999 1:43 PM To: Peter Bowen Cc: 'Charles Boening'; 'php4beta@lists.php.net' Subject: RE: [PHP4BETA] Win32 COM On Thu, 2 Dec 1999, Peter Bowen wrote: > I fixed most of the problems. I'm not familiar with COM objects, and looked > at > the prototypes to try to figure out how to use them. Most of the things I > was trying to set > were properties, so they now work. The prototype for the remaining one > function is: > > [id(0x0000001a), helpstring("method GetDatabaseDate")] > HRESULT GetDatabaseDate([out, retval] DATE* date); > > Does anyone know how to get PHP to like a date? PHP's understanding of the VARIANT type is currently very limited. I only coded it far enough so that you could automate Microsoft Word to load and manipulate documents a bit, I didn't go over all of the possible data types. It still needs to be done. What kind of problems did you solve? Zeev

« previous php.version4 (#7256) next »