Working with COMLast Updated: 9/12/2008 | |
| Sections above here: Home ยป Development | |
|
Sections below here:
Topics in this section: |
Initialization of COMIntraWeb can automatically make the necessary calls to initialize COM. This is very much useful when working with components such as ADO to access data. To use this feature, set the property ComInitialization in the ServerController. It can take one of three possible values:
Uninitialization is also taken care of automatically when the property is set to something other than ciNone. Threads and COMMost COM objects cannot be passed between threads. IntraWeb application are
multi threaded HTTP servers that reuse threads, therefore you cannot store
references to COM objects between two accesses to the same session or between
sessions. Depending on your problem specific, you can either use a COM object in
a single operation (not across the whole session, but at one access at a time),
then discard it, or marshal the COM interfaces needed by
yourselves. |
(C) 2002-2009 - Atozed Software Ltd. | |