hi
DelphiXE2, UniDAC6.2.8
when I try to connect MS SQL SERVER 2008R2 it's raised an error "integer overflow";
I follow error .. in unit DASQLMonitor i've made this changes, the problem is on BobJenkinsHash this function raise "integer overflow" :
function GetObjectID(Obj: TObject): Integer;
var
s: string;
begin
if Obj = nil then
Result := 0
else
Result := Integer(Obj{$IFDEF CLR}.GetHashCode{$ENDIF});
(*
if (Obj is TComponent) and (TComponent(Obj).Name <> '') then
begin
s := IntToHex(NativeInt(Obj), SizeOf(Pointer) * 2) + TComponent(Obj).Name;
Result := BobJenkinsHash(s[1], Length(s) * SizeOf(s[1]), 0);
end
else
Result := Integer(Obj);*)
end;
integer overflow; UniDAC6.2.8
Re: integer overflow; UniDAC6.2.8
Hello,
We couldn't reproduce the problem on the latest version of UniDAC and XE2. Please clarify, what application are you developing: VCL or FMX? Also specify the Windows platform (x32/x64) or Mac OS X. In addition, clarify when the error occurs: on connection opening, query execution, etc.?
We couldn't reproduce the problem on the latest version of UniDAC and XE2. Please clarify, what application are you developing: VCL or FMX? Also specify the Windows platform (x32/x64) or Mac OS X. In addition, clarify when the error occurs: on connection opening, query execution, etc.?
-
- Posts: 29
- Joined: Fri 10 Dec 2010 15:07
Re: integer overflow; UniDAC6.2.8
hi alex
Unidac 6.2.8 DelphiXe2 UpDate4 hotFix 1
Project is for windows
Unidac 6.2.8 DelphiXe2 UpDate4 hotFix 1
Project is for windows
Re: integer overflow; UniDAC6.2.8
We have already fixed this problem. The fix will be added to the next UniDAC version.