* fixed for 64 bit targets

git-svn-id: trunk@1622 -
This commit is contained in:
florian 2005-11-01 22:11:59 +00:00
parent 7bff61ce29
commit 81bf59a638

View File

@ -321,7 +321,9 @@ end;
function TODBCConnection.GetHandle: pointer;
begin
// I'm not sure whether this is correct; perhaps we should return nil
Result:=pointer(FDBCHandle); // note that FDBHandle is a LongInt, because ODBC handles are integers, not pointers
// note that FDBHandle is a LongInt, because ODBC handles are integers, not pointers
// I wonder how this will work on 64 bit platforms then (FK)
Result:=pointer(PtrInt(FDBCHandle));
end;
procedure TODBCConnection.DoInternalConnect;