RE: [PHP-WIN] COM Question

From: Date: Wed, 14 Mar 2001 17:16:09 +0000
Subject: RE: [PHP-WIN] COM Question
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-6030@lists.php.net to get a copy of this message
use the object's native close function, and then unset the variable, eg $microsoft_word->quit(); $microsoft_word=null; mal -----Original Message----- From: James Q. Stansfield [mailto:jstansfield@trader.ca] Sent: 14 March 2001 02:17 To: php-windows Subject: [PHP-WIN] COM Question Alright, I've gotten COM to work under PHP with the following: <% $com = new com("iUtil.iTemplate"); %> Now, looking at the documentation I can't find any function to close the object when I don't need it any longer. Am I missing anything here? If PHP autocloses objects that would be nice but not very efficient for objects that are used once briefly during a long script. That doesn't seem to be a good use of resources to me. //James -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net For additional commands, e-mail: php-windows-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.windows (#6030) next »