unexpected looping on win32

From: Date: Fri, 20 Jun 2003 06:46:21 +0000
Subject: unexpected looping on win32
Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-3551@lists.php.net to get a copy of this message
Hi , I took a class that someone made up for me that exec()'s a netstat call on win32 .. the code is here... http://www.firepages.org/public/netstat_h.php now even though that class only calls netstat once .. even in its simplest form , if I call the class before the gtk::main() I get an endless loop , & an Athlon2400XP+1Gb memory can open an awful lot of windows per second ;) <?php /*pointless as win32 only*/ dl( 'php_gtk.' . ( strstr( PHP_OS , 'WIN' ) ? 'dll' : 'so' ) ) || die( "Can't load php_gtk module!\n" ); require('include/netstat_h.php'); $tmp = new NetStats(); gtk::main(); ?> I know the above is pointless but it still starts this infinate loop. If I call the class via a web-browser etc not a problem ? nor from the command line, it only does this when called via php-gtk So basically my head hurts and has anyone any aspirin ? I assume I am missing something obvious again. Regards, Simon Wheeler firepages

« previous php.gtk.general (#3551) next »