Subject | Re: [firebird-support] Re: Udr GenRows sample Pascal |
---|---|
Author | livius |
Post date | 2018-05-15T04:54:01Z |
Hi,
what kind of buffer?
I have tried:
ss: Array[0..199] of Char;
ss: Array[0..199] of Byte;
ss: Array[0..199] of AnsiChar;
ss: String[200];
with last string[200] i got result prefixed with size byte
regards,
Karol Bieniaszewski
-----Oryginalna wiadomość-----
From: Dimitry Sibiryakov sd@... [firebird-support]
Sent: Monday, May 14, 2018 11:06 PM
To: firebird-support@yahoogroups.com
Subject: Re: [firebird-support] Re: Udr GenRows sample Pascal
14.05.2018 22:18, 'livius' liviuslivius@... [firebird-support]
wrote:
--
WBR, SD.
------------------------------------
------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Visit http://www.firebirdsql.org and click the Documentation item
on the main (top) menu. Try FAQ and other links from the left-side menu
there.
Also search the knowledgebases at
http://www.ibphoenix.com/resources/documents/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
------------------------------------
Yahoo Groups Links
what kind of buffer?
I have tried:
ss: Array[0..199] of Char;
ss: Array[0..199] of Byte;
ss: Array[0..199] of AnsiChar;
ss: String[200];
with last string[200] i got result prefixed with size byte
regards,
Karol Bieniaszewski
-----Oryginalna wiadomość-----
From: Dimitry Sibiryakov sd@... [firebird-support]
Sent: Monday, May 14, 2018 11:06 PM
To: firebird-support@yahoogroups.com
Subject: Re: [firebird-support] Re: Udr GenRows sample Pascal
14.05.2018 22:18, 'livius' liviuslivius@... [firebird-support]
wrote:
> maybe this is wrong?Yes, this is wrong. Buffer must contain real data, not pointers to them.
> GenIntOutMessage = record
> result: Integer;
> resultNull: WordBool;
> ss: PAnsiChar;
> ssNull: WordBool;
> end;
--
WBR, SD.
------------------------------------
------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Visit http://www.firebirdsql.org and click the Documentation item
on the main (top) menu. Try FAQ and other links from the left-side menu
there.
Also search the knowledgebases at
http://www.ibphoenix.com/resources/documents/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
------------------------------------
Yahoo Groups Links