Hi! > Hello, Josef! > > Monday, June 18, 2012, 10:18:57 AM, you wrote: > > JK> function STRBLOB(Value: PAnsiChar; Dest: PBlob): PBlob; > cdecl
Yeah, I realized too late that I should have used the declaration from interface, not from implementation. I have that. > JK> The blob record (probably wrong for x64): > > JK> TISC_BlobGetSegment = function(BlobHandle: PInt; > JK> Buffer: PAnsiChar; > JK> BufferSize: LongInt; > JK> var ResultLength: LongInt): SmallInt; cdecl; > > no, > buffersize: word; // two unsigned bytes, NOT longint. > resultlength: word: // the same two unsigned bytes I will fix this. It should not matter, though, as I am not using GetSegment at all. But of course it's a good idea to have a correct declaration, even if I don't need it right at the moment. Is it possible that the access violation is caused by e.g. alignment issues? I tried to use a packed record without success, though. Josef Kokes ------------------------------------ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Visit http://www.firebirdsql.org and click the Resources item on the main (top) menu. Try Knowledgebase and FAQ links ! Also search the knowledgebases at http://www.ibphoenix.com ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/firebird-support/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/firebird-support/join (Yahoo! ID required) <*> To change settings via email: firebird-support-dig...@yahoogroups.com firebird-support-fullfeatu...@yahoogroups.com <*> To unsubscribe from this group, send an email to: firebird-support-unsubscr...@yahoogroups.com <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/