C++;Builder XE、dbExpress和MySQL 5.x

C++;Builder XE、dbExpress和MySQL 5.x,mysql,c++builder,dbexpress,c++builder-xe,Mysql,C++builder,Dbexpress,C++builder Xe,我试图让dbExpressTSQLConnection与MySQL 5.x服务器一起工作。 我已经搜索过网络,但是没有找到任何关于C++ +Builder XE.< /P>的有用指令。 我从下载了dbxopenmysql50.dll驱动程序,并按照他们网站上的说明操作 下载了 LBYMySQL .DLL,并将DLL放入C++ Builder XE的bin文件夹中,编辑了DXDReVal.In,使用新的DLL。 在IDE中,当我将TSQLConnection属性设置为true时,dbxopenmy

我试图让dbExpress
TSQLConnection
与MySQL 5.x服务器一起工作。 我已经搜索过网络,但是没有找到任何关于C++ +Builder XE.< /P>的有用指令。 我从下载了
dbxopenmysql50.dll
驱动程序,并按照他们网站上的说明操作

下载了 LBYMySQL .DLL<代码>,并将DLL放入C++ Builder XE的bin文件夹中,编辑了DXDReVal.In,使用新的DLL。 在IDE中,当我将

TSQLConnection
属性设置为true时,dbxopenmysql50.dll在地址
中出现访问冲突时崩溃
bla bla bla

我不关心我当前的设置,但是有人可以使用它吗? 你是怎么做到的?请告诉我在哪里可以下载MySQL 5.x的dbExpress的免费工作DLL

下面是一些更多的错误信息:

“模块'dbxopenmysql50.dll'中地址10395D99的访问冲突。读取
地址0275C8D.“

从C++ Builder XE错误对话框中详细转储。

(00004D99){dbxopenmysql50.dll} [10395D99]
[50037560]{rtl150.bpl  } System.@FreeMem (Line 3768, "System.pas" + 20) + $0
[500415CF]{rtl150.bpl  } System.LocaleCharsFromUnicode (Line 29632, "System.pas" + 1) + $17
[50052A6C]{rtl150.bpl  } SysUtils.StrPosLen (Line 9617, "SysUtils.pas" + 8) + $13
[5003D9B4]{rtl150.bpl  } System.@UStrDelete (Line 22863, "System.pas" + 10) + $5
[50037560]{rtl150.bpl  } System.@FreeMem (Line 3768, "System.pas" + 20) + $0
[5003C0B0]{rtl150.bpl  } System.@UStrClr (Line 16968, "System.pas" + 14) + $0
[500A0F89]{rtl150.bpl  } Classes.TStrings.GetValueFromIndex (Line 5756, "Classes.pas" + 12) + $10
[51D1B35B]{DbxCommonDriver150.bpl} Dbxdynalink.TDBXDynalinkDriverCommonLoader.LoadDriverLibraryAndMethodTable + $E3
[51D1AFE9]{DbxCommonDriver150.bpl} Dbxdynalink.TDBXDynalinkDriver.LoadDriver + $35
[51D1DCD8]{DbxCommonDriver150.bpl} Dbxdynalinknative.TDBXDynalinkDriverNative.CreateConnection + $C
[51CF0C19]{DbxCommonDriver150.bpl} Dbxcommon.TDBXDelegateDriver.CreateConnection + $5
[51CF6666]{DbxCommonDriver150.bpl} Dbxcommon.TDBXConnectionBuilder.CreateConnection + $B6
[51CE7B5C]{DbxCommonDriver150.bpl} Dbxcommon.TDBXConnectionFactory.GetConnection + $E8
[51CE7A6D]{DbxCommonDriver150.bpl} Dbxcommon.TDBXConnectionFactory.GetConnection + $5
[50FFC77F]{dbexpress150.bpl} SqlExpr.TSQLConnection.DoConnect (Line 2537, "SqlExpr.pas" + 52) + $5
[5070E10D]{dbrtl150.bpl} DB.TCustomConnection.SetConnected (Line 3167, "DB.pas" + 8) + $4
[50089A3E]{rtl150.bpl  } TypInfo.SetOrdProp (Line 1791, "TypInfo.pas" + 28) + $0
[2105A0A6]{designide150.bpl} DesignEditors.TPropertyEditor.SetOrdValue (Line 841, "DesignEditors.pas" + 2) + $E
[2109E55B]{designide150.bpl} VCLEditors.TBooleanProperty.MouseUp (Line 1840, "VCLEditors.pas" + 5) + $10
[21194BD9]{vclide150.bpl} PropBox.TCustomPropListBox.ItemMouseUp (Line 1625, "PropBox.pas" + 16) + $1B
[21194DCF]{vclide150.bpl} PropBox.TCustomPropListBox.MouseUp (Line 1690, "PropBox.pas" + 1) + $D
[5027E90C]{vcl150.bpl  } Controls.TControl.DoMouseUp (Line 7318, "Controls.pas" + 2) + $28
[5027E988]{vcl150.bpl  } Controls.TControl.WMLButtonUp (Line 7331, "Controls.pas" + 9) + $6
[2119A4C0]{vclide150.bpl} IDEInspListBox.TInspListBox.WMLButtonUp (Line 1631, "IDEInspListBox.pas" + 3) + $4
[5027DF6C]{vcl150.bpl  } Controls.TControl.WndProc (Line 7074, "Controls.pas" + 91) + $6
[06D19928]{AQtime7BDS8.bpl} Aqsyncedit.TaqEditPainter.HasHintInfo + $9B8
[502820C3]{vcl150.bpl  } Controls.TWinControl.IsControlMouseMsg (Line 9608, "Controls.pas" + 1) + $9
[50282830]{vcl150.bpl  } Controls.TWinControl.WndProc (Line 9831, "Controls.pas" + 144) + $6
[502B8409]{vcl150.bpl  } StdCtrls.TCustomListBox.WndProc (Line 6217, "StdCtrls.pas" + 54) + $6
[50281ED0]{vcl150.bpl  } Controls.TWinControl.MainWndProc (Line 9552, "Controls.pas" + 3) + $6
[500AFA64]{rtl150.bpl  } Classes.StdWndProc (Line 13491, "Classes.pas" + 8) + $0
[50358AF7]{vcl150.bpl  } Forms.TApplication.ProcessMessage (Line 9760, "Forms.pas" + 23) + $1
[50358B3A]{vcl150.bpl  } Forms.TApplication.HandleMessage (Line 9790, "Forms.pas" + 1) + $4
[50358E65]{vcl150.bpl  } Forms.TApplication.Run (Line 9927, "Forms.pas" + 26) + $3

提前感谢。

在Delphi 2010中,DBExpress与MySQL 5.1配合得很好。 因此,尝试将libMySQL.DLL放在exe目录中可能会有所帮助,因为这是它的第一个外观。 检查是否需要任何其他DLL(我也需要dbxmys.DLL,但使用MySQL) 设置参数以适合您的MySQL服务器-(Localhost、MyDBName、MyUSerName、MyPasswd),然后尝试在IDE中连接。这对我有用!
Chris

“地址bla bla bla中的访问冲突”没有帮助。如果您不能努力提供实际的错误消息,那么很难想努力尝试并帮助您解决它。:)@肯怀特。我更新了这个问题。你从哪里下载的dbExpress和MySQL库(DLL)?它们都是Delphi2010 PRO版的