Subject | RE: [IBO] strange access violation with TIB_Session and TIB_RPL_Meta |
---|---|
Author | Jason Wharton |
Post date | 2004-10-28T22:25:23Z |
I'm very glad you worked around this!
I think that sounds like a reasonable idea.
Is there a chance you could send me a sample app with the AV so that I can
investigate it more?
Thanks,
Jason Wharton
I think that sounds like a reasonable idea.
Is there a chance you could send me a sample app with the AV so that I can
investigate it more?
Thanks,
Jason Wharton
> -----Original Message-----
> From: blescouet [mailto:blescouet@...]
> Sent: Thursday, October 14, 2004 1:43 AM
> To: IBObjects@yahoogroups.com
> Subject: Re: [IBO] strange access violation with TIB_Session and
> TIB_RPL_Meta
>
> Hi,
>
> Sorry for being long to answer... It's yet an old thread, but let
> continue it !
>
> --- In IBObjects@yahoogroups.com, "Jason Wharton" <jwharton@i...>
> wrote:
> > This sounds like a problem with the destruction phase of the
> components.
>
> During the construction phase I think : the AV raises while the unit
> is opened, not closed.
>
> > If you send me a simple sample app with instructions on how to get
> this
> > problem to reproduce I will add it to my bugs folder and review it.
> >
> It's quite easy to reproduce : create a new datamodule, put on it a
> TIB_Session, a TIB_Connexion and then a TIB_RPL_Meta... Bingo !
>
> It's a little irritating while developping my app, so I made a
> workaround : I've overriden the Datamodule's consructor to create
> manually the TIB_Session :
>
> constructor TMyModule.Create(AOwner : TComponent);
> begin
> FSession := TIB_Session.Create(Self);
> inherited;
> [...]
> end;
>
> And all is working fine. Can we conclude that the origin of the
> problem is in a Designtime package ?
>
> B.L.