Subject RE: [IBO] IBO - D2009 Build help needed.
Author Dmitriy A. Beloshistov
AFAIK in D2009 improved AnsiStrings unit for backward compatibility. Try use it.



WBR, Dmitry Beloshistov AKA [-=BDS=-]





From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com] On Behalf Of Adrian Wreyford
Sent: Friday, October 17, 2008 12:01 AM
To: IBObjects@yahoogroups.com
Subject: Re: [IBO] IBO - D2009 Build help needed.



Thanks ,I tried that, but then you have to be carefull, you need to take all the following into consideration as per help files:
Additional Code to Consider
Search for the following additional code constructs to locate Unicode enabling problems:

a.. AllocMem(
b.. AnsiChar
c.. of AnsiChar
d.. AnsiString
e.. of Char
f.. Copy(
g.. GetMem(
h.. Length(
i.. PAnsiChar
j.. Pointer(
k.. Seek(
l.. ShortString
m.. string[
Code containing such constructs might need to be changed to properly support the UnicodeString type.

Shew!!! This is going to be difficult, and needs to be well thought through .. not just a matter of recompiling the code in D2009 as we did in D2007.

----- Original Message -----
From: Hans
To: IBObjects@yahoogroups.com <mailto:IBObjects%40yahoogroups.com>
Sent: Thursday, October 16, 2008 9:59 PM
Subject: Re: [IBO] IBO - D2009 Build help needed.

I think instead of Char, user AnsiChar
----- Original Message -----
From: "Adrian Wreyford" <wreymed@... <mailto:wreymed%40absamail.co.za> >
To: <IBObjects@yahoogroups.com <mailto:IBObjects%40yahoogroups.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
>
>
>

[Non-text portions of this message have been removed]





[Non-text portions of this message have been removed]