Re: How to get Application pool name from a C++ COM component by David
David
Fri Jan 23 05:28:29 CST 2004
ISAPI Filter and ISAPI Extension (as well as ASP/ASP.Net pages) have access
to a server variable named "APP_POOL_ID" which contains this name. I'm not
aware of any other API that can retrieve this value.
--
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"Lars N" <ltn@mail.tele.dk> wrote in message
news:54904e2e.0401220242.1fbe9814@posting.google.com...
Hi,
We have a COM component written in C++. Now we have upgraded our
webserver to Windows 2003 and need to get the id (or name) of the
application pool, so the application pool name can be added to the
logging.
How do we get the name of the actual application pool from C++?
Can anyone help?
Thanks!