Subject | Re: [IBO] IBO - D2009 Build help needed. |
---|---|
Author | Hans |
Post date | 2008-10-16T19:59Z |
I think instead of Char, user AnsiChar
----- Original Message -----
From: "Adrian Wreyford" <wreymed@...>
To: <IBObjects@yahoogroups.com>
Sent: Thursday, October 16, 2008 1:53 PM
Subject: [IBO] IBO - D2009 Build help needed.
> OK .. I'm trying to tackle a build for D2009
>
> I cannot get the following code to compile in D2009:
>
> const SoundExTable: array [char] of smallint = (
> 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, // 0..29
> 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, // 30..59
> 0,0,0,0,0, // 60..64
> //A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ / ] ^ _ '
> 0,1,2,3,0,1,2,0,0,2,2,4,5,5,0,1,2,6,2,3,0,1,0,2,0,2,0,0,0,0,0,0,
> //a b c d e f g h i j k l m n o p q r s t u v w x y z
> 0,1,2,3,0,1,2,0,0,2,2,4,5,5,0,1,2,6,2,3,0,1,0,2,0,2,
> 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, //
> 123..149
> 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, //
> 150..179
> 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, //
> 180..209
> 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, //
> 210..239
> 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 );
>
> Gives error: Number of elements 256 differs from declaration 65536. .. is
> this something to do with unicode? and Char representation in D2009?
> Any help will be appreciated.
>
> Adrian
>
>
>
> [Non-text portions of this message have been removed]
>
>
> ------------------------------------
>
> ___________________________________________________________________________
> IB Objects - direct, complete, custom connectivity to Firebird or
> InterBase
> without the need for BDE, ODBC or any other layer.
> ___________________________________________________________________________
> http://www.ibobjects.com - your IBO community resource for Tech Info
> papers,
> keyword-searchable FAQ, community code contributions and more !
> Yahoo! Groups Links
>
>
>