MaxDelphi7 2.bugreport.txt (6.9 KB)
MaxDelphi7 2.bugreport.zip (2.4 KB)
Logged as bugs://E26908.
Hi Andreas,
turns out that GlobalMalloc is declared in implementation part of Delphi 7 ADODB.pas:
implementation
uses DBCommon, Mtx, DBConsts, ComObj, ADOConst;
type
PRecInfo = ^TRecInfo;
TRecInfo = packed record
Bookmark: OleVariant;
BookmarkFlag: TBookmarkFlag;
RecordStatus: Integer;
RecordNumber: Integer;
end;
const
{ Connection Flags }
cfOpen = 1;
cfExecute = 2;
cfIndex = 3;
cfParameters = 4;
cfProvider = 5;
bfNA = TBookmarkFlag(Ord(High(TBookmarkFlag)) + 1);
RSOnlyCommandTypes = [cmdTableDirect, cmdFile]; { Command Types valid only in RecordSet.Open calls }
var
GlobalMalloc: IMalloc;
So we can’t use since it is private. The importer has been fixed to prevent this issue, a new .dcp import is required.
Good catch this one
1 Like
bugs://E26908 was closed as fixed.