note 39510 added to function.com-load-typelib
| From: | ojpp at webdevfm dot com | Date: | Fri, 30 Jan 2004 23:33:31 +0000 |
| Subject: | note 39510 added to function.com-load-typelib | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-64462@lists.php.net to get a copy of this message | ||
Hello PHP community, I want to help in a problem I found in this COM built-in function:
com_load_typelib(), when I executed it in order to open a COM Server process (for example: Word,
Excel, etc.) I was in trouble to release the object from memory, I figured it out, this is the
solution:
Change a configuration in the php.ini:
; autoregister constants of a components typlib on com_load()
com.autoregister_typelib = true
When com.autoregister_typelib directive is true, PHP parser manage the COM server type library, I
hope it helps.
----
Manual Page -- http://www.php.net/manual/en/function.com-load-typelib.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+39510
Delete -- http://master.php.net/manage/user-notes.php?action=delete+39510&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+39510&report=yes
Search -- http://master.php.net/manage/user-notes.php