Subject | Re: [IBO] Multiple instansiation of a TdataModulw with IBO |
---|---|
Author | Bengt Skogvall |
Post date | 2003-05-30T12:28:43Z |
Is it ok to create the ib_session first and then create the TdataModule with
the session as parent? That way, I would not have to create all IBO in code.
Regards,
Bengt Skogvall
""Marco Krause"" <mkrause@...> schrieb im Newsbeitrag
news:78D6C60128280A4C8A59D48EF88AAFAF035163@......
TIB_Connection, make that TIB_Session instance the owner of the other IBO
components the thread uses.
the session as parent? That way, I would not have to create all IBO in code.
Regards,
Bengt Skogvall
""Marco Krause"" <mkrause@...> schrieb im Newsbeitrag
news:78D6C60128280A4C8A59D48EF88AAFAF035163@......
> > I need it for Intraweb. I have the very strange behavior, that whencomponent. Then, when you create the other components, like the
> > 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.
>
> If your IntraWeb application is multi-threaded, than it is important,
> 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
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
>
>
>
> IB Objects - direct, complete, custom connectivity to Firebird orInterBase
> without the need for BDE, ODBC or any other layer.___________________________________________________________________________
>
> http://www.ibobjects.com - your IBO community resource for Tech Infopapers,
> keyword-searchable FAQ, community code contributions and more !
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>