Re: Problem with releasing COM objects when using php-gtk
| From: | Alan Knowles | 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")-- Can you help out? Need Consulting Services or Know of a Job? http://www.akbkhome.comdl("php_gtk.dll");elsedl("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