php-src/ext/rpc
Wez Furlong e04d6ca9f7 - Make sure that COM and VARIANT resources are returned as resources
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;
?>
2002-05-21 18:58:11 +00:00
..
com - Make sure that COM and VARIANT resources are returned as resources 2002-05-21 18:58:11 +00:00
dotnet Fix build 2002-03-18 09:42:20 +00:00
java - Fail gracefully and not just bail out with an error message from dirname 2002-05-11 03:11:46 +00:00
tests pass function signature in zend_parse_parameters style 2002-03-19 23:28:52 +00:00
xmlrpc - fixed memory leak 2002-04-17 07:33:39 +00:00
CREDITS 2nd step towards auto-credits 2000-11-20 10:33:33 +00:00
EXPERIMENTAL Mark ext/java as what it is: experimental. 2001-12-04 13:19:42 +00:00
handler.h changes related to the latest commit of the zend engine 2002-04-22 14:25:46 +00:00
layer.h rpc apstraction module 2002-03-15 00:00:34 +00:00
php_rpc.h blah 2002-03-16 16:15:34 +00:00
RPC_HOWTO blah 2002-03-16 16:15:34 +00:00
rpc_proxy.c set up a proxy object when requesting a reference to a variable 2002-04-22 19:40:01 +00:00
rpc_proxy.h changes related to the latest commit of the zend engine 2002-04-22 14:25:46 +00:00
rpc.c set up a proxy object when requesting a reference to a variable 2002-04-22 19:40:01 +00:00
rpc.h changes related to the latest commit of the zend engine 2002-04-22 14:25:46 +00:00