RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWebModuleList.AutoCreateModules Method

Instantiates the Web modules that are flagged to handle all incoming requests.

Pascal
procedure AutoCreateModules;
C++
__fastcall AutoCreateModules();

TWebRequestHandler calls AutoCreateModules to instantiate all of the Web modules that should be used to handle every incoming request object. 

AutoCreateModules searches the module factory list for factory objects that have a CreateMode property with the crAlways flag. For each such factory object, AutoCreateModules creates the corresponding Web module if it does not already exist and adds it to the Items property array. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!