Subject Re: Blob-Handling UDF
Author tgrundke
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).

> Your UDF can't return TStream object. UDFs must return
> datatypes that Firebird understand, usually properly allocated CSTRING.

Yes, I know. My function is a intern help-function an not a UDF.

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
>