UniQuery - Form Inherited - SetConnection ACCESS VIOLATION UNIDAC160.bpl

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
imsims2013
Posts: 2
Joined: Sun 03 Nov 2013 14:58

UniQuery - Form Inherited - SetConnection ACCESS VIOLATION UNIDAC160.bpl

Post by imsims2013 » Sun 03 Nov 2013 15:05

Hi, i think it's a bug of 5.x bug.

using: 5.0.2 Trial

Replicate Error:

1) Create Form1 with a uniQuery1;
2) Create Form2 as Inherited from TForm1
3) Put a UniConnection on Form2
3) Set Form2.uniQuery1.Connection to UniConnection (from Object Inspector)
4) Save unit2.pas and close form2.
5) ReOpen form2 : Access Violation in Unidac160.bpl : Do not open .dfm !

If you remove

Code: Select all

  inherited UniQuery1: TUniQuery
    Connection = UniConnection1
  end
form unit2.dfm

then all is ok again.

Best regards

ims

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: UniQuery - Form Inherited - SetConnection ACCESS VIOLATION UNIDAC160.bpl

Post by AlexP » Mon 04 Nov 2013 13:41

Hello,

Thank you for the information, we have reproduced the problem and will investigate the reasons for this kind of behaviour. We will inform you as soon as we have any results.

imsims2013
Posts: 2
Joined: Sun 03 Nov 2013 14:58

Re: UniQuery - Form Inherited - SetConnection ACCESS VIOLATION UNIDAC160.bpl

Post by imsims2013 » Sat 30 Nov 2013 16:38

hi, i'm currently use firedac on xe5,

i would buy unidac for performance, but i really need this function
ov inerithed forms with dac components.

do you plan to fix this bug?

morevore i can use your discount of 50% coming from fireDac?

best regards

imsms

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: UniQuery - Form Inherited - SetConnection ACCESS VIOLATION UNIDAC160.bpl

Post by AlexP » Mon 02 Dec 2013 14:06

Hello,

This problem will be fixed in the nearest build. As for discounts on migration from competitive products, please contact our sales department: sales*devart*com

migliolid
Posts: 1
Joined: Tue 21 Jan 2014 08:29

Re: UniQuery - Form Inherited - SetConnection ACCESS VIOLATION UNIDAC160.bpl

Post by migliolid » Tue 21 Jan 2014 09:02

Hi,
i've similar problem, UniDac 5.2.5 Professional on XE5 update 2.
Exists a solution?

Best regards
Daniele

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: UniQuery - Form Inherited - SetConnection ACCESS VIOLATION UNIDAC160.bpl

Post by AlexP » Tue 11 Feb 2014 09:06

We have already fixed both problems, these fixes will be added to the next UniDAC build.

Post Reply