UniQuery - Form Inherited - SetConnection ACCESS VIOLATION UNIDAC160.bpl
Posted: 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
form unit2.dfm
then all is ok again.
Best regards
ims
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
endthen all is ok again.
Best regards
ims