⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 product.inc

📁 MYSQL 连接控件 MYSQL 连接控件
💻 INC
字号:
// Standard defines for delphi and kylix
{$I defines.inc}

{$B-} { Complete Boolean Evaluation }
{$R-} { Range-Checking }
{$T-} { Typed @ operator }
{$X+} { Extended syntax }
{$P+} { Open string params }
{$J+} { Writeable structured consts }
{$H+} { Use long strings by default }

// Turn off Delphi 7's insistence on .NET safeness
{$IFDEF DELPHI7UP}
  {$WARNINGS OFF}
{$ENDIF}

// This will enable nagware dialogs
{.$DEFINE IDEONLY}
//{$IFDEF IDEONLY}
//  {$DEFINE DEMOVERSION}
//{$ENDIF}

// The follow directives include or exclude support for specific driver types
// thereby reducing your package and this suite's footprint size on your application
// For safety reasons, i.e. you should have at least one driver, you can not exclude the Library driver,
// it takes no additional space and includes no additional files to the suite and as such
// your application and this suite's footprint is at minimum size when it has only the Library Driver
// The other two are optional though.  The embedded driver adds no more than 10 lines of additional code, while
// the direct driver includes additional units as well as optionally the zlib obj files.  That said, keep in mind that
// the Direct driver has no need for additional clientdlls to your application.  You have the choice and power though.
// Thus the smallest possible bpl size of this suite is around ~180Kb=Library Driver, no SSL, compression and no dialogs,
// but you will need the ~250Kb external mysql clientlib.
// The largest possible bpl size is around ~270Kb, includes all three drivers and supports SSL and compression for all three drivers
// Somewhere in between those sizes are all your choices. As an example, one of the more popular choices is:
// All three drivers, but excluding SSL and Compression for the Direct Driver.  This will result in a ~220Kb bpl and will
// leave you with maximum flexibility driverwise, whilst you will have compression available for the Library Driver
// but no compression for the Direct Driver and no SSL support for any driver.  The installation default includes all three drivers,
// compression for all three and exclude any SSL support.  It results in a ~265Kb bpl.
{$DEFINE MYSQLDIRECT}
{$DEFINE MYSQLEMBEDDED}

// This will enable a console application build without any calls to messagedialogs, loginprompts etc,
// thus it will exclude Forms (windows) and all QForms units for X environment on linux
{.$DEFINE CONSOLEAPP}
  // If you specified the linker should generate a console app in your IDE, then we define CONSOLEAPP in any case
{$IFDEF CONSOLE}
  {$DEFINE CONSOLEAPP}
{$ENDIF}

// This will include openssl calls into the executable
// NOTE: you will need libeay32.dll and ssleay32.dll for ssl to work, you can obtain these from http://www.intelicom.si/?newlang=eng
{.$DEFINE HAVE_SSL}

// Following are settings for the opensource direct driver. This product.inc file is included in the mysqlinc.inc which it uses
// and as such these settings will override the default ones, which are all disabled
{$IFDEF MYSQLDIRECT}
  // This will enable you to use the Compressed protocol to the mysql server for the direct driver
  // If you use the Direct Driver, this will link in the zlib obj files in the source directory
  // NOTE: Compression is always available for the Library Driver and takes no additional space in your EXE
  {$DEFINE HAVE_COMPRESS}
  {$IFDEF MSWINDOWS}
     {$DEFINE _WIN_}
     {this will actually enable windows winsock imports}
  {$ENDIF}
  {$DEFINE HAVE_THREADSAFE}
{$ENDIF}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -