Blaise Guest
|
Posted: Wed Feb 21, 2007 6:31 am Post subject: Can't access Application variable in TWebModule... |
|
|
Where is the Application variable when using (File: New: Web Server
Application) TWebModule app? I see it in the .dpr
-------------------------------------
library PDASRVC1;
uses
WebBroker,
ISAPIApp,
PDAWSRVC in 'PDAWSRVC.pas' {PDAWebService: TPDAWebService};
{$R *.RES}
exports
GetExtensionVersion,
HttpExtensionProc,
TerminateExtension;
begin
Application.Initialize;
Application.CreateForm(TPDAWebService, PDAWebService);
Application.Run;
end.
-------------------------------------
....however, it is not accessible in code (either in design or run-time). I
need to get access to CacheConnections, ActiveCount, etc...
What am I missing?
thanks,
Blaise |
|