mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-18 01:09:42 +02:00
* fixed for 64 bit targets
git-svn-id: trunk@1622 -
This commit is contained in:
parent
7bff61ce29
commit
81bf59a638
@ -321,7 +321,9 @@ end;
|
|||||||
function TODBCConnection.GetHandle: pointer;
|
function TODBCConnection.GetHandle: pointer;
|
||||||
begin
|
begin
|
||||||
// I'm not sure whether this is correct; perhaps we should return nil
|
// 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;
|
end;
|
||||||
|
|
||||||
procedure TODBCConnection.DoInternalConnect;
|
procedure TODBCConnection.DoInternalConnect;
|
||||||
|
Loading…
Reference in New Issue
Block a user