Changeset 54 for trunk/CGI.lpr
- Timestamp:
- Jul 20, 2011, 11:52:31 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/CGI.lpr
r53 r54 5 5 uses 6 6 UCore, USqlDatabase, SysUtils, Contnrs, 7 UContactPage, UUser, UHTTPSessionMySQL, UHTTPSessionFile, UPagesModule,7 UContactPage, UUser, UHTTPSessionMySQL, UHTTPSessionFile, 8 8 UCommon, UHTTPServer, UHTTPServerTCP, UHTTPServerCGI, UTCPServer, UPool, 9 9 UMemoryStreamEx, UMIMEType, UPageList, Interfaces, UMainModule, UWebApp, … … 12 12 UNetworkPage, UAboutPage; 13 13 14 var15 Application: TWebApp;16 14 begin 17 Application := TWebApp.Create(nil);18 15 with Application do 19 16 try 20 17 Initialize; 18 MainModule := TMainModule.Create(nil); 19 MainModule.Run; 21 20 RegisterPage(TInternetPage, InternetPage, 'internet'); 22 21 RegisterPage(THostingPage, HostingPage, 'hosting'); … … 34 33 Run; 35 34 finally 36 Free;35 MainModule.Free; 37 36 end; 38 37 end.
Note:
See TracChangeset
for help on using the changeset viewer.