Subject | Re: [firebird-support] Re: Udr GenRows sample Pascal |
---|---|
Author | livius |
Post date | 2018-05-15T19:31:11Z |
Thank you botch Norbert and Dimitry for your help
problem was with fill method
the method is to use move index [1] of string and casting or StrLCopy
or simplest possible this one which does not require any casting:
StrPLCopy(outMessage.ss, s, High(outMessage.ss))
regards,
Karol Bieniaszewski
Sent: Tuesday, May 15, 2018 11:19 AM
Subject: Re: Re: [firebird-support] Re: Udr GenRows sample
Pascal
have tried:> It depends on information in IMessageMetadata.
>
> > I
> > ss: Array[0..199] of Char;Array[0..199] of Byte;
> > ss:
> > ss: Array[0..199] of AnsiChar;OK
>
> This is a right declaration for CHAR(200).
>
> > ss: String[200];string[200] i got result prefixed with size byte
> >
> > with last
>strings in Delphi are prefixed with length byte.
> Because short
>WBR, SD.
> --
>
>Yes i know that i only "show" that with this declaration i got something
but with all above i got empty string
I will look into fill procedure maybe i miss something obvious
regards,
Karol Bieniaszewski