Re: Can't access Application variable in TWebModule...



Correct, this is a Delphi-5 ISAPI DLL.

The application variable is declared in ISAPIApp unit. The ISAPI unit is
included, but still no access to the Application (TISAPIApplication)
variable. 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.

thanks,
Blaise

"J French" <erewhon@xxxxxxxxxx> wrote in message
news:45dd7082.10411411@xxxxxxxxxxxxxxxxxxxxxxx
On Thu, 22 Feb 2007 11:01:03 +0100, Hans-Peter Diettrich
<DrDiettrich1@xxxxxxx> wrote:

J French wrote:

This DPR file uses three units. Therefore the Application global
variable must be declared in one of those three units. Find the correct
one, and then make sure it appears on the "uses" clause of whatever
other units need to access that variable.


Is not TApplication in the Forms unit

This is only the Application type for GUI apps. Other app types use
different classes, in other units. The above search algorithm is correct.

Interesting, do you know with which version of Delphi this started ?

Blaise's DPR looked like a DLL




.