... know what could be the problem?? cSQL:=mysql_real_escape_string(::pLib,::hConnection,cSQL) function mysql_real_escape_string(pLib, hConnect, cQuery) return hb_DynCall( { "mysql_real_escape_string", pLib, hb_bitOr( hb_SysLong(),; hb_SysCallConv() ), hb_SysLong(), HB_DYN_CTYPE_CHAR_PTR, ...