Subject strange bug with isc_que_events
Author svanderclock

it's not really a bug (i guess), but it's strange

i m in Delphi 2007.

how to declare the callback function ? as cdecl or stdcall ??

for now i use this declaration

procedure EventCallbackfunct(UserData: Pointer; Length: Smallint; Updated: PAnsiChar); cdecl;

because sometime i have some strange eaccessviolation in the ntdll.dll (expecially when i manually kill the process fbserver.exe) ... but it's really strange because normally their is not difference in the callback function when the fbserver is crashing or when a normal event appear (except that updated is nil in the first case) and i thing the probleme is on how i declare the callbackfunction !

thanks for all for your help !