ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> php-windows
php-windows
[PHP-WIN] COM, DLL
by Amit Stein other posts by this author
Oct 26 2006 7:47AM messages near this date
[PHP-WIN] Comunication between php and a window service | [PHP-WIN] Re: Print on client shared printer doesn't work gives error
I have this problem. I am running a php application , that calls a
dll, through COM ($obj=new COM("foo.dll"), and this works fine.
My problem is that each time i call from a php a function from this
dll, the dll initialiazes again, which happens to be very time
consuming because it reads a lot of data from a database.

My question is if there is a way (other than converting the dll into
an .exe and a window service), to keep the dll in memory, keeping all
their global variables set between calls from php.

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved