Subject Re: [IBO] Acess Violation x Delphi 2009
Author Oakman
Hi Jason
 
Do you take into account that SizeOf(Char) can be more than 1.
Unicode = 3,  UTF = 4

IBObjects as it's now does show a UNICODE varchar(40)  field as varchar(120)
 
Regards
 
Kaj Ekman 
 

--- On Mon, 9/14/09, Robert martin <rob@...> wrote:


From: Robert martin <rob@...>
Subject: Re: [IBO] Acess Violation x Delphi 2009
To: IBObjects@yahoogroups.com
Date: Monday, September 14, 2009, 2:24 AM


 



Hi Jason

I'm not up with the play re Delphi 2009 and unicode. Or even the error
related to this code. But isn't there a new function(s) in 2009 to
return the number of characters in a Unicode string?

Someone out there who has 2009 might be better able to help :)

Rob

Jason Wharton wrote:
>> I found another problem on different lines from what I saw this error is
>> related is some information I have on the table / form, because I have
>> screens that do not give this error, but do not know if it can be as the
>> procedure is great, I'm sending only the lines where the error appears
>>
>> procedure TIBODataset. InternalSetField Data( Field: TField; Buffer:
>> Pointer );
>> IBODataset Line 4034 and line 3982
>>
>> Acess Violation
>>
>> tmpLen := Length( PAnsiString( TRecordBuffer( Buffer ))^ );
>>
>
> I'm working on this issue.
>
> Does anyone have any suggestions?
>
> Thanks,
> Jason Wharton
>
>
>
> ------------ --------- --------- ------
>
> ____________ _________ _________ _________ _________ _________ _
> IB Objects - direct, complete, custom connectivity to Firebird or InterBase
> without the need for BDE, ODBC or any other layer.
> ____________ _________ _________ _________ _________ _________ _
> http://www.ibobject s.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]