Reduce size.
Posted: 10.09.2006, 07:10
If you don't use any type of protocol set zeos.inc with protocols are you need.
For reducing more size of bpl and application make modification in file ZPlain.dpk in section (contains ... end ) and recompile.
[syntax="delphi"]
contains
ZPlainDriver in '..\..\src\plain\ZPlainDriver.pas',
{$ifdef ENABLE_DBLIB}
ZPlainDbLibDriver in '..\..\src\plain\ZPlainDbLibDriver.pas',
ZPlainDbLibMsSql7 in '..\..\src\plain\ZPlainDbLibMsSql7.pas',
ZPlainDbLibSybaseAse125 in '..\..\src\plain\ZPlainDbLibSybaseAse125.pas',
{$endif}
{$ifdef ENABLE_MYSQL}
ZPlainMySql320 in '..\..\src\plain\ZPlainMySql320.pas',
ZPlainMySql323 in '..\..\src\plain\ZPlainMySql323.pas',
ZPlainMySql40 in '..\..\src\plain\ZPlainMySql40.pas',
ZPlainMySql41 in '..\..\src\plain\ZPlainMySql41.pas',
ZPlainMySql5 in '..\..\src\plain\ZPlainMySql5.pas',
ZPlainMySqlDriver in '..\..\src\plain\ZPlainMySqlDriver.pas',
ZPlainMysqlConstants in '..\..\src\plain\ZPlainMysqlConstants.pas',
{$endif}
{$ifdef ENABLE_POSTGRESQL}
ZPlainPostgreSqlDriver in '..\..\src\plain\ZPlainPostgreSqlDriver.pas',
ZPlainPostgreSql7 in '..\..\src\plain\ZPlainPostgreSql7.pas',
ZPlainPostgreSql8 in '..\..\src\plain\ZPlainPostgreSql8.pas',
{$endif}
ZPlainDb2 in '..\..\src\plain\ZPlainDb2.pas',
ZPlainDb2Driver in '..\..\src\plain\ZPlainDb2Driver.pas',
{$ifdef ENABLE_INTERBASE}
ZPlainInterbase5 in '..\..\src\plain\ZPlainInterbase5.pas',
ZPlainInterbase6 in '..\..\src\plain\ZPlainInterbase6.pas',
ZPlainInterbaseDriver in '..\..\src\plain\ZPlainInterbaseDriver.pas',
ZPlainFirebird10 in '..\..\src\plain\ZPlainFirebird10.pas',
ZPlainFirebird15 in '..\..\src\plain\ZPlainFirebird15.pas',
ZPlainFirebird20 in '..\..\src\plain\ZPlainFirebird20.pas',
{$endif}
{$ifdef ENABLE_ADO}
ZPlainAdoDriver in '..\..\src\plain\ZPlainAdoDriver.pas',
ZPlainAdo in '..\..\src\plain\ZPlainAdo.pas',
{$endif}
{$ifdef ENABLE_ORACLE}
ZPlainOracleDriver in '..\..\src\plain\ZPlainOracleDriver.pas',
ZPlainOracle9i in '..\..\src\plain\ZPlainOracle9i.pas',
{$endif}
{$ifdef ENABLE_SQLITE}
ZPlainSqLite28 in '..\..\src\plain\ZPlainSqLite28.pas',
ZPlainSqLite3 in '..\..\src\plain\ZPlainSqLite3.pas',
ZPlainSqLiteDriver in '..\..\src\plain\ZPlainSqLiteDriver.pas',
{$endif}
{$ifdef ENABLE_ASA}
ZPlainASADriver in '..\..\src\plain\ZPlainASADriver.pas',
ZPlainASA9 in '..\..\src\plain\ZPlainASA9.pas',
ZPlainASA8 in '..\..\src\plain\ZPlainASA8.pas',
ZPlainASA7 in '..\..\src\plain\ZPlainASA7.pas',
{$endif}
ZPlainLoader in '..\..\src\plain\ZPlainLoader.pas';
end.
[/syntax]
mdaems it is correct? If is correct please make this modification to SVN
For reducing more size of bpl and application make modification in file ZPlain.dpk in section (contains ... end ) and recompile.
[syntax="delphi"]
contains
ZPlainDriver in '..\..\src\plain\ZPlainDriver.pas',
{$ifdef ENABLE_DBLIB}
ZPlainDbLibDriver in '..\..\src\plain\ZPlainDbLibDriver.pas',
ZPlainDbLibMsSql7 in '..\..\src\plain\ZPlainDbLibMsSql7.pas',
ZPlainDbLibSybaseAse125 in '..\..\src\plain\ZPlainDbLibSybaseAse125.pas',
{$endif}
{$ifdef ENABLE_MYSQL}
ZPlainMySql320 in '..\..\src\plain\ZPlainMySql320.pas',
ZPlainMySql323 in '..\..\src\plain\ZPlainMySql323.pas',
ZPlainMySql40 in '..\..\src\plain\ZPlainMySql40.pas',
ZPlainMySql41 in '..\..\src\plain\ZPlainMySql41.pas',
ZPlainMySql5 in '..\..\src\plain\ZPlainMySql5.pas',
ZPlainMySqlDriver in '..\..\src\plain\ZPlainMySqlDriver.pas',
ZPlainMysqlConstants in '..\..\src\plain\ZPlainMysqlConstants.pas',
{$endif}
{$ifdef ENABLE_POSTGRESQL}
ZPlainPostgreSqlDriver in '..\..\src\plain\ZPlainPostgreSqlDriver.pas',
ZPlainPostgreSql7 in '..\..\src\plain\ZPlainPostgreSql7.pas',
ZPlainPostgreSql8 in '..\..\src\plain\ZPlainPostgreSql8.pas',
{$endif}
ZPlainDb2 in '..\..\src\plain\ZPlainDb2.pas',
ZPlainDb2Driver in '..\..\src\plain\ZPlainDb2Driver.pas',
{$ifdef ENABLE_INTERBASE}
ZPlainInterbase5 in '..\..\src\plain\ZPlainInterbase5.pas',
ZPlainInterbase6 in '..\..\src\plain\ZPlainInterbase6.pas',
ZPlainInterbaseDriver in '..\..\src\plain\ZPlainInterbaseDriver.pas',
ZPlainFirebird10 in '..\..\src\plain\ZPlainFirebird10.pas',
ZPlainFirebird15 in '..\..\src\plain\ZPlainFirebird15.pas',
ZPlainFirebird20 in '..\..\src\plain\ZPlainFirebird20.pas',
{$endif}
{$ifdef ENABLE_ADO}
ZPlainAdoDriver in '..\..\src\plain\ZPlainAdoDriver.pas',
ZPlainAdo in '..\..\src\plain\ZPlainAdo.pas',
{$endif}
{$ifdef ENABLE_ORACLE}
ZPlainOracleDriver in '..\..\src\plain\ZPlainOracleDriver.pas',
ZPlainOracle9i in '..\..\src\plain\ZPlainOracle9i.pas',
{$endif}
{$ifdef ENABLE_SQLITE}
ZPlainSqLite28 in '..\..\src\plain\ZPlainSqLite28.pas',
ZPlainSqLite3 in '..\..\src\plain\ZPlainSqLite3.pas',
ZPlainSqLiteDriver in '..\..\src\plain\ZPlainSqLiteDriver.pas',
{$endif}
{$ifdef ENABLE_ASA}
ZPlainASADriver in '..\..\src\plain\ZPlainASADriver.pas',
ZPlainASA9 in '..\..\src\plain\ZPlainASA9.pas',
ZPlainASA8 in '..\..\src\plain\ZPlainASA8.pas',
ZPlainASA7 in '..\..\src\plain\ZPlainASA7.pas',
{$endif}
ZPlainLoader in '..\..\src\plain\ZPlainLoader.pas';
end.
[/syntax]
mdaems it is correct? If is correct please make this modification to SVN