Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 5 of 5 total
Thread Translating "edbconsts"
Wed, Apr 14 2010 12:50 PMPermanent Link

Elke Khattab

Hi,
after translating the status messages in "edbconsts" i get the following compiler error in delphi:

[Fatal Error] edbcomps.pas(26) Unit edblocal was compiled with a different version of edbconsts.EDB_STATUSSTR_START

I deleted all "edbcomps.dcu" and "edbconsts.dcu" files from the system. The source files reside solely in the "\code\source" subdirectory.

I'm using the standard version 2.03 Build 9

Any guidance would be appreciated.
Josef
Wed, Apr 14 2010 1:38 PMPermanent Link

Raul

Team Elevate Team Elevate

Josef,

Was there by any chance an internal error code included? (e.g. Fxxxx type or such)

From the sounds of it seems you're using a non-source code version and my guess is that your compiler settings differ from ones Tim uses to compile the code.

I've seen something similar come up if the DCU and your code have a different "record field alignment" in Compiler settings for example.

Just a guess at this point.

Raul
Wed, Apr 14 2010 1:50 PMPermanent Link

Elke Khattab

Raul,

<<Was there by any chance an internal error code included? (e.g. Fxxxx type or such)>>
no, just "[Fatal Error] edbcomps.pas(26) Unit edblocal was compiled with a different version of edbconsts.EDB_STATUSSTR_START"

<<From the sounds of it seems you're using a non-source code version and my guess is that your compiler settings differ from ones Tim uses to compile the code.>>
yes, I'm using the standard version (non-source). Aren't the compiler settings included in "edbcomps.pas" and "edbconsts.pas"?

thanks for your speedy assistance
Josef
Wed, Apr 14 2010 2:06 PMPermanent Link

Raul

Team Elevate Team Elevate

>>Aren't the compiler settings included in "edbcomps.pas" and "edbconsts.pas"?

Not really - you can include compiler directives in pas files but in this case those files only contain include directive as far as i can tell ($I) and nothing for any others.

Hence the compiler directives in your case are coming from your delphi project file - and i would suggest looking in there first and maybe trying to adjust couple of them.

Tim should be able to give you better instructions.

Raul
Wed, Apr 14 2010 8:33 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Josef,

<< I'm using the standard version 2.03 Build 9 >>

Unfortunately, that's the issue.  EDB uses constants for the messages, not
resource strings, due to issues with Unicode vs. ANSI resource strings in
earlier versions of Delphi, and the constants must all be declared in the
interface section of the unit.  Therefore, if you modify the constants, you
will need to recompile everything.  This means that you need the source code
version of EDB.

I'll have to re-visit this issue again to see if there is anything that can
be done, but right now that's the state of things.

--
Tim Young
Elevate Software
www.elevatesoft.com
Image