Subject RE: Access violation in IB_Components

Looks like ISC_STATUS definitons is wrong in IB_Header.pas.

After changing from longint to NativeInt (and rebuild IBO) it works as expected.

---In, <ma_golyo@...> wrote:

Using databreakponts it looks like (in callstack) the Self is overwritten in fbclient.dll, after calling isc_dsql_execute2.

So it looks like isc_dsql_execute2 mapping or it's argument type mapping is somehow wrong in 64bit mode.

---In, <ma_golyo@...> wrote:


XE4 upd1
64Win7, 64bit debug
FB2.5.2.26540 (both client and server)

When an EXECUTE PROCEDURE call (TIBOStoredProc.ExecProc) throws an exception at database side (database exception call) then in the TIBOStoredProc Self pointer becomes nil after the

SysExecStatement ( ErrCode, Status );

call (IB_Components.pas, line 25299). Looks like some kind of buffer overflow problem.

Please fix it.

Thank you!