Subject | Re: [IBO] Access violation with IB_Connection pointer and package |
---|---|
Author | Enrico Cima |
Post date | 2001-08-23T16:15:04Z |
Hi Damian,
finally You got the same error I have.... remember ? So You can double check
better now.
The problem comes out also with IB_NAVIGATIONBAR and IB_UPDATEBAR.....
Bye,
Enrico
finally You got the same error I have.... remember ? So You can double check
better now.
The problem comes out also with IB_NAVIGATIONBAR and IB_UPDATEBAR.....
Bye,
Enrico
----- Original Message -----
From: "Damian Dowling" <it-manager@...>
To: <IBObjects@yahoogroups.com>
Sent: Thursday, August 23, 2001 2:13 PM
Subject: [IBO] Access violation with IB_Connection pointer and package
> Hi
>
> I am getting the following error when i pass a IB_Connection pointer to a
> package and try to use it:
>
> Access violation at address 4005C40C in module 'VCL50.BPL'. Read
> of address FFFFFFFF.
>
> Here is what i have:
>
> 1. MDIParent Form with IB_Connection component.
>
> 2. Package statically linked to Main program. Package contains a MDIChild
> Form with IB_Transaction, IB_DataSource, IB_Query and a Grid.
>
> 3. I create the MDIChild Form and call a function to setup the child
> passing IB_Connection pointer, Setup function code as follows:
>
> Transaction->AddConnection(Control);
> User_Query->DatabaseName = Control->DatabaseName;
> User_Query->IB_Connection = Control;
> User_Query->Open();
>
> If the table contains data the error happens before the data is displayed,
> Oking the error and clicking on the Grid will display the data and the
> error will appear. From what i can tell the error is also kicked off when
> the Grid receives focus.
>
> I have just tested it without the Grid and used an Edit control and it
> worked OK all except for the Announce Focus bit (there was still something
> wrong). I have also tried including into the package the MDIParent and its
> IB_Connection and set it up at design time, still no go (works at design
> time though).
>
> There seems to be a problem here with IBO and packages, which i need fixed
> - i am already lookinig at 10MBs of Packages (containing Forms) for an
> Application (and there is alot more to come), i cannot put all that into
> one EXE.
>
> I am using BCB Pro 5 IBO 4.2.Eb.
>
> Hope some one can help.
>
> Thanks
>
>
> Damian Dowling
> IT Manager
> Pallas Foods Ltd
>
> Phone: + 353 69 20200
> Fax: + 353 69 20201
> Email: it-manager@...
>
>
>
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>