Re: Can't access Application variable in TWebModule...
- From: "Blaise" <mgathome@xxxxxxxxxxx>
- Date: Thu, 22 Feb 2007 17:39:49 GMT
My error - ISAPIApp only makes "reference" to the Application variable - the
variable is actually declared in WebBroker unit. Once I included WebBroker
unit, I can now access the properties.
thanks, maybe now I can start regrowing the hair I pulled out over this...
Blaise
"Rob Kennedy" <me3@xxxxxxxxxxx> wrote in message
news:545vidF1vpah9U1@xxxxxxxxxxxxxxxxxxxxx
Blaise wrote:
Correct, this is a Delphi-5 ISAPI DLL.
The application variable is declared in ISAPIApp unit.
Are you sure?
The ISAPI unit is included, but still no access to the Application
(TISAPIApplication) variable.
Then, logically, there are two possibilities:
1. The compiler is broken and cannot find that variable, even though it's
able to find all the other variables just fine.
2. The unit really doesn't contain that variable.
Which do you think is more likely?
All of the documentation I've see online reference Application properties
CacheConnections; ActiveCount, InactiveCount, etc., but my TWebModule
cannot "get at" this elusive variable and it's critical properties.
Run my search algorithm again. You're doing the search in the source code,
right? Don't try to use the documentation.
It's just three units. It's not so much that you couldn't skip my search
suggestion and just do trial and error. Since one of them clearly didn't
work, try the other two.
--
Rob
.
- Follow-Ups:
- Re: Can't access Application variable in TWebModule...
- From: J French
- Re: Can't access Application variable in TWebModule...
- References:
- Can't access Application variable in TWebModule...
- From: Blaise
- Re: Can't access Application variable in TWebModule...
- From: Rob Kennedy
- Re: Can't access Application variable in TWebModule...
- From: J French
- Re: Can't access Application variable in TWebModule...
- From: Hans-Peter Diettrich
- Re: Can't access Application variable in TWebModule...
- From: J French
- Re: Can't access Application variable in TWebModule...
- From: Blaise
- Re: Can't access Application variable in TWebModule...
- From: Rob Kennedy
- Can't access Application variable in TWebModule...
- Prev by Date: Re: Can't access Application variable in TWebModule...
- Next by Date: Repeat Get_A_Life Until ( New_life=true) or (Shoot_self_in_head=true)
- Previous by thread: Re: Can't access Application variable in TWebModule...
- Next by thread: Re: Can't access Application variable in TWebModule...
- Index(es):