Subject | Re: Blob-Handling UDF |
---|---|
Author | tgrundke |
Post date | 2004-03-15T17:15:15Z |
Hi Ivan,
I have tested the UDF's with Pascal-Sourcecode (http://www.ibphoenix.com) on weekend. But the result of this UDF's is not correct (Blobsize > 64KB, FB 1.5 FR, SS WINNT).
By
Torsten
I have tested the UDF's with Pascal-Sourcecode (http://www.ibphoenix.com) on weekend. But the result of this UDF's is not correct (Blobsize > 64KB, FB 1.5 FR, SS WINNT).
> Your UDF can't return TStream object. UDFs must returnYes, I know. My function is a intern help-function an not a UDF.
> datatypes that Firebird understand, usually properly allocated CSTRING.
By
Torsten
--- In firebird-support@yahoogroups.com, "Ivan Prenosil" <Ivan.Prenosil@s...> wrote:
> Look at Contributed Downloads section on
> http://www.ibphoenix.com
> there are lots of free UDFs, many of them with source code.
>
> > function BlobToStream(aBlob: PBlob): TStream;
> ...
> > result := Stream;
>
> Your UDF can't return TStream object. UDFs must return
> datatypes that Firebird understand, usually properly allocated CSTRING.>
> Ivan
>