06.05.2019 14:59, Massimo Fazzolari wrote:
I use this udfmalloc, on windows is defined as:
function udfmalloc(Size: Integer): Pointer; cdecl; external 'ib_util.dll' name 'ib_util_malloc';

  Do you check returned value for nil?

BTW, "Integer" is not always right declaration for the argument. Check that it is always 32 bits wide on Windows and 32/64 bits on Linux.

--
  WBR, SD.


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to