Subject Re: [IBO] ICS ERROR 335544726
Author yovchoz
--- In IBObjects@yahoogroups.com, "GOVINDKRISHNA" <gkrishna@j...>
wrote:
>
> >------------------Original Message-----------
> >
> >From : Helen Borrie <helebor@t...>
> >To : IBObjects@yahoogroups.com
> >Date : 12/07/2003 8:30:45 PM
> >Subject : Re: [IBO] ICS ERROR 335544726
> >
> >
> >That's because the client has crashed with an access violation.
> >
> >Threads can't share the default session. When creating
datamodules for
> >threads, you must drop an explicit TIB_Session component in there
and make
> >it first in the creation order.
> >
> >Helen
>
> Jumping into this thread because it seems similar to some problems
I have faced
>
> Does this mean that if I am using multiple thread I can use the
SAME CONNECTION but
> create SEPERATE SESSION objects for each thead
>
> gk

You can use some kind of connection pooling if you have using many
threads that are mostly idle, but for true multitasking you need a
separate connection for each thread.