This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
unit DBDriverManager; | |
interface | |
uses | |
ZDbcIntfs, Types, Classes, DB, SysUtils, ZClasses, ZCollections, ZCompatibility, ZTokenizer, ZSelectSchema, | |
ZGenericSqlAnalyser, ZDbcLogging, ZVariant, ZPlainDriver, ZURL, ThreadHelper; | |
type | |
TSafeDriverManager = class(TInterfacedObject, IZDriverManager) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
procedure InitUnits; | |
var | |
Count, I: Integer; | |
Table: PUnitEntryTable; | |
P: Pointer; | |
begin | |
if InitContext.InitTable = nil then | |
exit; | |
Count := InitContext.InitTable^.UnitCount; | |
I := 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ************************************************************************************************** | |
// Delphi Detours Library. | |
// Unit DDetours | |
// https://github.com/MahdiSafsafi/delphi-detours-library | |
// The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License"); | |
// you may not use this file except in compliance with the License. You may obtain a copy of the | |
// License at http://www.mozilla.org/MPL/ | |
// | |
// Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF |