php, excel - release problem

From: Date: Sat, 20 Sep 2003 21:48:29 +0000
Subject: php, excel - release problem
Groups: php.windows 
Request: Send a blank email to php-windows+get-21471@lists.php.net to get a copy of this message
Hello I have following script: $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); $xls->release(); unset($xls); $MyEx->quit(); $MyEx->release(); unset($MyEx); After exiting php (4.3.3) excel is still in memory. Does it correctly work for anybody? Without opening xls it's ok (however useless): $MyEx = new COM("Excel.Application",null,CP_UTF8) or Die ("Did not connect"); $MyEx->quit(); $MyEx->release(); unset($MyEx); BTW. is there a way to use Excel constants - eg. for borderaround method? BR -- \ Grzegorz Godlewski / / Mail: ggodlewski()pld-linux.org GG: 1600799 ICQ UIN: 118261503 \

« previous php.windows (#21471) next »