Page 1 of 1

MyDAC 7.6.11 for Lazarus 1.0RC1 Install Problems

Posted: Tue 29 Jan 2013 07:26
by byungho.jeon
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?

Re: MyDAC 7.6.11 for Lazarus 1.0RC1 Install Problems

Posted: Tue 29 Jan 2013 08:07
by AndreyZ
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}

Re: MyDAC 7.6.11 for Lazarus 1.0RC1 Install Problems

Posted: Tue 29 Jan 2013 17:58
by byungho.jeon
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.

Re: MyDAC 7.6.11 for Lazarus 1.0RC1 Install Problems

Posted: Wed 30 Jan 2013 08:36
by AndreyZ
I am glad I could help. If any other questions come up, please contact us.