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



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.

DoDi
.