Bug in 5.90.0.57 ? - Error creating ....

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Edison Garcia
Posts: 29
Joined: Sat 29 Jul 2006 01:52

Bug in 5.90.0.57 ? - Error creating ....

Post by Edison Garcia » Thu 15 Apr 2010 01:02

Hi
I install the new release 5.90.0.57 and try to open the project were I was working. It apears a error message:

Error creating form: Error reading Qy1.SQL.Strings: Connection is not defined.

and the last unit were I had worked apears not to have a form??? The file .dfm was there. The most strange thing was that if I try to build the project it builds Ok and runs OK, but it was impossible to see the form at least this form!

After restore backups, and a lot of another tentatives, and to make a long story short:

if I re-install version 5.90.0.56 everything works beautifully and with version ... 57 the same error ocurs - no form. I have done this 2 times with the same results!

One more information - with the version ..56 the Query Qy1 on the problematica unit apears to be ok, with connection perfectly defined and if in the IDE i tryed to activatate it it opens perfectly

best regards

Edison Garcia

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Fri 16 Apr 2010 08:02

I could not reproduce the problem. Please send me your project with the error to reproduce the problem.

Edison Garcia
Posts: 29
Joined: Sat 29 Jul 2006 01:52

Bug in 5.90.0.57 ? - Error creating ....

Post by Edison Garcia » Fri 16 Apr 2010 15:45

Hi Dimon

I can not send the original project were I get the error (it is a very big one).
Fortunatelly the unit in which I get the error, repeats the error in a very small project.

I create the project under version ..56 compile and run perfectlly - no errors at all.

I install the version ...57 and if you try to open the project in the IDE you get the error, the form is not show but compiles and runs pefectly;

Please download .exe and codes in:

http://www.docsistemas.com.br/util/BugMyDac.rar

If you need anything more, please let me know

Best regards

Edison

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Mon 19 Apr 2010 07:36

There is an object of the TDRDQuery class in your project. What class is this? Try to use the TMyQuery class instead of it. Does it solve the problem?

Edison Garcia
Posts: 29
Joined: Sat 29 Jul 2006 01:52

Post by Edison Garcia » Mon 19 Apr 2010 23:22

Hi Dimon

You are right: the TDRDQuery class is derived from TMyQuery class and must be re-compiled at each new version of MyDac. This time I just forgot doing that and this is the origem of the problem. After re-compiled everything is working beautifully (including DRRQuery).

I am sorry to let you to spend your time and energy with my errors!

Best regards

Edison

Post Reply