Subject | Re: [IBO] This is a potential problem -- exception from IBObject |
---|---|
Author | zachs78 |
Post date | 2005-10-13T07:50:09Z |
Hi Helen,
Yeah I'm doing it with local loopback (i.e. TCP/IP). My IB_Sessions
are created during runtime (therefore not dropped down from
palette). And it is the first thing created, followed by
IB_Connection and IB_Transaction. IB_Connection's defaultTransaction
is then assigned with the IB_Transaction.
This suddenly dawned on me!
Do I have to explicitly assign my IB_Session to the IB_Connection
and IB_Transaction when I create it during runtime? What other
properties do I have to explicitly assign in this case?
Oh god. If this is really the problem, I'm gonna throw myself over
my office window! :)
Thanks again. I'll try it out and let you know...
Yeah I'm doing it with local loopback (i.e. TCP/IP). My IB_Sessions
are created during runtime (therefore not dropped down from
palette). And it is the first thing created, followed by
IB_Connection and IB_Transaction. IB_Connection's defaultTransaction
is then assigned with the IB_Transaction.
This suddenly dawned on me!
Do I have to explicitly assign my IB_Session to the IB_Connection
and IB_Transaction when I create it during runtime? What other
properties do I have to explicitly assign in this case?
Oh god. If this is really the problem, I'm gonna throw myself over
my office window! :)
Thanks again. I'll try it out and let you know...
> Since you didn't reflect back, I'll ask again: are you trying todo this
> stuff with LOCAL connections? You *must* use local loopback ifyou are
> threading connections....the access violations tell me that youpossibly
> haven't taken that key thing on board. Note also that EACH threadmust
> have its own ib_session (explicit, drop down from the palette)*and* the
> session must be the first thing created in the thread.
>
> Helen
>