Subject | Re: [firebird-support] blob functions fail in linux 64 bit systems |
---|---|
Author | Dmitry Yemanov |
Post date | 2009-11-11T05:49:15Z |
robert.gilland wrote:
If so, have you recompiled the UDF library for a 64-bit target?
Dmitry
> I have compiled and use quite nicely, below 'c' function,Do you use a 64-bit FB version on centos 64-bit?
> which then i use in a centos linux 32bit system.
>
> however the same function when executed in a centos 64bit system,
> causes the connection to drop out ( as is standard when an UDF function fails )
If so, have you recompiled the UDF library for a 64-bit target?
> typedef short TISC_BlobGetSegment(int*, char*,long, long*);Last two parameters must be short and short*, respectively;
> typedef structSegmentCount, MaxSegmentLength and TotalSize must be int.
> {
> TISC_BlobGetSegment* GetSegment;
> int* BlobHandle;
> long SegmentCount;
> long MaxSegmentLength;
> long TotalSize;
> TISC_BlobPutSegment* PutSegment;
> }TBlob;
Dmitry