Icon View Thread

The following is the text of the current message along with any replies.
Messages 11 to 17 of 17 total
Thread Lazarus 9.26 with EDB 2.02 Unicode getting error #206 on Tutorial App
Fri, Apr 24 2009 12:08 AMPermanent Link

Todd Neuman
"Tim Young [Elevate Software]" wrote:

<<procedure TForm1.Button1Click(Sender: TObject);
begin
  Engine.Active:=True;
  ShowMessage(Engine.Signature);
end;

Do you see the actual signature, even though the TEDBEngine on the form is
still missing the signature in the object inspector ? >>

Hi Tim,

Although I have the unicode working under the base Lazarus 926, in Runtime I'm still
getting an error EEDBException with message:  ElevateDB Error #406 Invalid data type
identifier ''.

With this table active in the Design-Time I see the data just fine.

I added a button click with the following code:

 ShowMessage(EDBEngine1.Signature);
 EDBEngine1.Active:=True;
 ShowMessage(EDBEngine1.Signature);

and it shows me 'edb_signature' both times.

Any ideas on the Runtime error?

Cheers,
Todd
Fri, Apr 24 2009 2:51 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Todd,

<< Although I have the unicode working under the base Lazarus 926, in
Runtime I'm still getting an error EEDBException with message:  ElevateDB
Error #406 Invalid data type identifier ''. >>

It's the same issue, and I seem to have found the source of the problem.  It
appears that you were close with your theory about assignable constants,
because the problem is that Lazarus (Free Pascal compiler) is not coping
with the constants declared like this:

  DEFAULT_SIGNATURE = TEDBString('edb_signature')

It treats them as blank, whereas the same constant declared like this:

  DEFAULT_SIGNATURE = WideString('edb_signature')

works fine.   This is a bit odd, however, since the Unicode version of EDB
declares:

  TEDBString = WideString;

So, I'll report this as a bug and see what they say about a fix or
workaround.

--
Tim Young
Elevate Software
www.elevatesoft.com

Fri, Apr 24 2009 4:20 PMPermanent Link

Todd Neuman
Hi Tim,

Thanks for the update and your help on the problem.  I'll keep a watch out on this thread
to see when the Lazarus team has a solution or work around.

Have a great weekend!

Cheers,
Todd
Fri, Apr 24 2009 6:17 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Todd,

<< Thanks for the update and your help on the problem.  I'll keep a watch
out on this thread to see when the Lazarus team has a solution or work
around. >>

They're very quick there:

http://bugs.freepascal.org/view.php?id=13583

Smiley

--
Tim Young
Elevate Software
www.elevatesoft.com

Fri, Apr 24 2009 11:15 PMPermanent Link

Todd Neuman
Wow, I can't believe they already fixed it!

Being new to this arena, how do I go about getting the patch for the compiler so that I
can give it a try and hopefully get on with the project . . .

Cheers,
Todd
Sat, Apr 25 2009 4:10 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Tim

><< Thanks for the update and your help on the problem. I'll keep a watch
>out on this thread to see when the Lazarus team has a solution or work
>around. >>
>
>They're very quick there:
>
>http://bugs.freepascal.org/view.php?id=13583
>
>Smiley

Interesting - we now have something that its worth benchmarking your standard or support against <vbg>

Roy Lambert
Tue, Apr 28 2009 2:31 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Todd,

<< Wow, I can't believe they already fixed it!

Being new to this arena, how do I go about getting the patch for the
compiler so that I can give it a try and hopefully get on with the project .
.. . >>

Good question. Smiley I think that you have to use the snapshot versions that
they issue on a daily basis here:

http://snapshots.lazarus.shikami.org/lazarus/

--
Tim Young
Elevate Software
www.elevatesoft.com

« Previous PagePage 2 of 2
Jump to Page:  1 2
Image