简体   繁体   English

Delphi XE2 DBExpress访问冲突?

[英]Delphi XE2 DBExpress Access Violation?

I seem to be having some problems with dbExpress in Delphi XE2. 我似乎在Delphi XE2中使用dbExpress遇到了一些问题。 When I try to set the connected property of the Sqldataconnection to true I get an access violation at 000000000. 当我尝试将Sqldataconnection的connected属性设置为true时,在000000000处出现访问冲突。

The same thing happens when I try to change the CommandText or Active Properties of the SqlDataSet. 当我尝试更改CommandData或SqlDataSet的活动属性时,会发生相同的事情。

This is my first time using these components as I am following along with some tutorials from a book that I have so it may very well be something I am going wrong but I'm not exactly sure at this point. 这是我第一次使用这些组件,同时还有我从书中获得的一些教程,因此很可能是我出了错,但我目前不确定。

Any help is appreciated. 任何帮助表示赞赏。

Thanks. 谢谢。

Well I found the reason for my problems. 好吧,我找到了问题的原因。 Apparently the dbexpress drivers needed to connect to any database besides interbase are not available in Delphi XE2 starter which is what I am using. 显然,除了Interbase外,连接到任何数据库所需的dbexpress驱动程序在我正在使用的Delphi XE2启动程序中不可用。

Thanks for the help. 谢谢您的帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM