MyDAC 7.6.11 for Lazarus 1.0RC1 Install Problems

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
byungho.jeon
Posts: 3
Joined: Tue 29 Jan 2013 07:07

MyDAC 7.6.11 for Lazarus 1.0RC1 Install Problems

Post by byungho.jeon » Tue 29 Jan 2013 07:26

Hi
I have a MyDAC 7.6.11 source.
I'm starting a new project in lazarus 1.0rc with MyDAC 7.6.11 in UbuntuMint14 (FPC 2.6.0)
First. I'm open dclmydac10.lpk package in lazarus.
Second. Click install. it makes lazarus build. Build successed but crashed restarting lazarus after build.

Build Target: gtk2, x86_64-linux

Here is error message by startlazarus command:
TApplication.HandleExcept Assertion failed (MyCall.pas, line 961)
....
Assertion failed (MyCall.pas, line 961)
-----------------------

Code: Select all

initialization
{$IFNDEF WIN64}
  Assert(SizeOf(TMYSQL_FIELD3) = 32);
//  Assert(SizeOf(TMySqlOption) = SizeOf(Integer));
{$ENDIF}
MyDAC 7.6.11 does not support Lazarus 1.0RC?

AndreyZ

Re: MyDAC 7.6.11 for Lazarus 1.0RC1 Install Problems

Post by AndreyZ » Tue 29 Jan 2013 08:07

Hello,

We already fixed this problem. This fix will be included in the next MyDAC build.
As a workaround, you should replace the code:

Code: Select all

{$IFNDEF WIN64}
, with the following code:

Code: Select all

{$IFNDEF CPUX64}

byungho.jeon
Posts: 3
Joined: Tue 29 Jan 2013 07:07

Re: MyDAC 7.6.11 for Lazarus 1.0RC1 Install Problems

Post by byungho.jeon » Tue 29 Jan 2013 17:58

AndreyZ wrote:Hello,

We already fixed this problem. This fix will be included in the next MyDAC build.
As a workaround, you should replace the code:

Code: Select all

{$IFNDEF WIN64}
, with the following code:

Code: Select all

{$IFNDEF CPUX64}
Thank you AndreyZ. It works fine.

Best regards.

AndreyZ

Re: MyDAC 7.6.11 for Lazarus 1.0RC1 Install Problems

Post by AndreyZ » Wed 30 Jan 2013 08:36

I am glad I could help. If any other questions come up, please contact us.

Post Reply