summaryrefslogtreecommitdiff
path: root/ext/com/php_COM.h
Commit message (Collapse)AuthorAgeFilesLines
* ext/com is not compatible with ZE2, the ZE2 version is located inHarald Radi2003-01-101-75/+0
| | | | | ext/rpc/com
* Implement com_invoke_ex, which allows the user to specify the invoke kindWez Furlong2002-08-261-0/+1
| | | | | | | | | | flags, so that custom invocations can be made. Tidy up code for com_propget and com_propset, so that it can work with objects as well as resources. # This code is from a couple of months ago, and has been hanging around # on my windows dev box; I'm not entirely sure where I needed com_invoke_ex, # but the additions to propget and propset are useful.
* - Make sure that COM and VARIANT resources are returned as resourcesWez Furlong2002-05-211-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rather than longs. - Make the IDispatch implementation a bit more generic (and fix my mess of pointers). - Add new com_message_pump() function that acts like an interruptible usleep() that processes COM calls/events. - Add new com_print_typeinfo() function for "decompiling" the typeinfo for an interface into PHP script. This is useful for generating a skeleton for use as an event sink. - Add new com_event_sink() function for sinking events from COM objects. Usage is like this: <?php class IEEventSinker { var $terminated = false; function ProgressChange($progress, $progressmax) { echo "Download progress: $progress / $progressmax\n"; } function DocumentComplete(&$dom, $url) { echo "Document $url complete\n"; } function OnQuit() { echo "Quit!\n"; $this->terminated = true; } } $ie = new COM("InternetExplorer.Application"); $sink =& new IEEventSinker(); com_event_sink($ie, $sink, "DWebBrowserEvents2"); $ie->Visible = true; $ie->Navigate("http://www.php.net"); while(!$sink->terminated) { com_message_pump(4000); } $ie = null; ?>
* Added generic COM wrapper for PHP objects.Wez Furlong2002-05-201-0/+18
|
* rename module entryHarald Radi2001-10-171-2/+2
|
* merged from EXPERIMENTALHarald Radi2001-08-131-14/+22
| | | | | lots of cleanup work
* Avoid TSRMLS_FETCH()'s, and clean up a bit of stale extern's and layout on ↵Zeev Suraski2001-07-301-15/+15
| | | | the way
* cleanupHarald Radi2001-06-241-3/+14
| | | | | added some macros
* removed itypeinfo calls because they didn't work on every machineHarald Radi2001-05-021-0/+4
| | | | | #i'm investigating this ...
* @Using ITypeInfo instead of IDispatch if possible. This makes DCOM callsHarald Radi2001-03-201-7/+1
| | | | | | | | | | @and even COM calls much faster. @All ini settings are now prefixed by 'com.'. @Now you need not provide a path to the file containing the typelib, you can @also provide the GUID of the TypeLib - entry or an IID for preloading @type - information. (phanto) memory leak was reportet, i'm not sure that it is fixed by now, but it should be.
* use *_EXTERN_C() and PHP_WIN32Harald Radi2001-01-291-12/+14
|
* fixed unicodeconversion and parameter passing bugs in com and dotnet modulesHarald Radi2001-01-281-0/+9
|
* Change header protection macros to conform to standard.Sascha Schumann2000-07-021-3/+3
| | | | | | | | | Draft 3 of IEEE 1003.1 200x, "2.2 The Compilation Environment" All identifiers that begin with an underscore and either an uppercase letter or another underscore are always reserved for any use by the implementation.
* - Make CVS compile on Win32.Andi Gutmans1999-10-201-0/+24
- Rename php3_COM.h -> php_COM.h