Page 1 of 1

Major bug in MyDAC 5.00.1.7 with Delphi 2007

Posted: Wed 06 Jun 2007 15:45
by Hans
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

Posted: Thu 07 Jun 2007 09:54
by Antaeus
Does the problem appear if the very same application has been made under Windows XP instead of Vista?

Posted: Thu 07 Jun 2007 12:30
by Hans
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

Posted: Fri 08 Jun 2007 14:49
by Antaeus
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.

Posted: Fri 08 Jun 2007 20:04
by Hans
Thanks!! My email adres = [email protected]

best regards,
Hans

Posted: Mon 11 Jun 2007 09:18
by Antaeus
I have just sent the project to you at the specified address.

Posted: Mon 11 Jun 2007 17:52
by Hans
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