Major bug in MyDAC 5.00.1.7 with Delphi 2007

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Hans
Posts: 52
Joined: Wed 24 Aug 2005 20:05

Major bug in MyDAC 5.00.1.7 with Delphi 2007

Post by Hans » Wed 06 Jun 2007 15:45

Hi,
I experience a major bug in MyDac 5.00.1.7 using Delphi 2007. I develop applications in Vista and run the application on XP ServP 2.

Within 5v minutes the application closes (I believe it gets a WM_DESTROY message).

How to Reproduce this error?
- Create an MDI application on Vista
- Add MyDac connection, table and datasource and add a grid.
- Compile/link
- run the application on XP

I hope you can fix this problem.

best regards,
Hans

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Thu 07 Jun 2007 09:54

Does the problem appear if the very same application has been made under Windows XP instead of Vista?

Hans
Posts: 52
Joined: Wed 24 Aug 2005 20:05

Post by Hans » Thu 07 Jun 2007 12:30

I have no XP pc available with Delphi installed so i cannot try this for you.

I hope you have the required environment for that?

best regards,
Hans

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Fri 08 Jun 2007 14:49

I performed several test regarding your description, but it looks like everything works fine. I would like you to test the project created in my environment. Please specify your email address, and I will send you this project.

Hans
Posts: 52
Joined: Wed 24 Aug 2005 20:05

Post by Hans » Fri 08 Jun 2007 20:04

Thanks!! My email adres = [email protected]

best regards,
Hans

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Mon 11 Jun 2007 09:18

I have just sent the project to you at the specified address.

Hans
Posts: 52
Joined: Wed 24 Aug 2005 20:05

Post by Hans » Mon 11 Jun 2007 17:52

Hi,

Thanks for your testcode. Your testcode runs fine on vista and XP. It took me quiet a long time to find out the difference. It looks like the error is caused by a grid from Infopower.

In my first testcode i used a grid from Infopower. However, before i put this issue on the forum i changed the Infopower grid for a standard just to be sure the only non standars components i used where from MyDAC.

The stupid thing is, that when you remove the Infopower grid from your form there still is a reference in your USES part. Ones i removed that, everything worked.

THE PROBLEM WAS NOT CAUSED BY MYDAC!!!

Thanks for your help, since i would not have discovered this issue without comparing my source files with yours.

best regards,
Hans

Post Reply