Re: Problem with releasing COM objects when using php-gtk

From: Date: Wed, 24 Sep 2003 02:49:42 +0000
Subject: Re: Problem with releasing COM objects when using php-gtk
References: 1  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-532@lists.php.net to get a copy of this message
have you tried gtk::main_quit(); exit; Grzegorz Godlewski wrote:
Hello After executing that script: <? ////////////// if (!class_exists("gtk")) { if (strtoupper(substr(PHP_OS,0,3))=="WIN")
    dl("php_gtk.dll");
else
    dl("gtk.so");
} ////////////// $MyEx = new COM("Excel.Application",null,CP_UTF8) or Die ("Did not connect"); $xls = &$MyEx->application->Workbooks->Open(getcwd()."\\arkusz.xls") or Die (); $xls->close(false); $MyEx->quit(); $MyEx->release(); unset($MyEx); ?> Excel is still in the memory after quiting php. Without loading gtk it's ok. Could anybody check/fix it? BR
-- Can you help out? Need Consulting Services or Know of a Job? http://www.akbkhome.com

« previous php.gtk.dev (#532) next »