Subject | Re: [IBO] Multiple instansiation of a TdataModulw with IBO |
---|---|
Author | Marco Krause |
Post date | 2003-05-30T11:03:40Z |
> I need it for Intraweb. I have the very strange behavior, that whenIf your IntraWeb application is multi-threaded, than it is important,
> more than one session was active at a time, after the last session
> has been ended, I get a AV when trying to instanciate the TdataModule
> contain the IBO stuff for the next session.
that you have a TIB_Session in your datamodule. From the online-faq:
One thing to ensure is that each thread needs to create a TIB_Session component. Then, when you create the other components, like the TIB_Connection, make that TIB_Session instance the owner of the other IBO components the thread uses.
Make sure the TIB_Session is FIRST in the creation order.
--
Marco Krause