BCB用ODAC连接Oracle unicode

虎滴小猪猪 2013-06-09 02:47:59
BCB用ODAC连接Oracle unicode的问题
我在程序里将OraSession1->Options->UseUnicode = true;
运行程序后,报错,程序起不来,谁遇到过类似问题,

如果这个参数不设置成true的话,连接oracle unicode库的话,汉字显示不全,不知道为什么
...全文
133 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
虎滴小猪猪 2013-06-13
  • 打赏
  • 举报
回复
谢谢1楼提醒了我,给了我启发,我试了下,最后的结论。 是因为我后边还有一句“OraSession1->Options->Charset = “AL32UTF8”;” 如果 屏蔽“OraSession1->Options->Charset = “AL32UTF8”;” 保留 “OraSession1->Options->UseUnicode = true;” 就可以了
宝龙哥 2013-06-10
  • 打赏
  • 举报
回复
调整这一语句和其它OraSession1相关语句的顺序试试
官方网站:http://www.devart.com/odac 本版本支持以下 IDE: Delphi 5,6,7,8,2005 C++Builder 5,6 BDS 2006 (Delphi 2006, C++Builder 2006) RAD Studio 2007 (Delphi 2007, C++Builder 2007) RAD Studio 2009 (Delphi 2009, C++Builder 2009) RAD Studio 2010 (Delphi 2010, C++Builder 2010) 详细介绍: Oracle Data Access Components (ODAC) 是 Delphi 和 C++Builder 中使用的不可视组件库,该组件用于访问Oracle RDBMS。 Oracle Data Access Components (ODAC) library offers some nonvisual components for Borland Delphi and C++ Builder. They serve for access to Oracle RDBMS. ODAC is an alternative to standard way processing data by Borland Database Engine (BDE). ODAC uses Oracle Call Interface (OCI) directly. The Oracle Call Interface is an application programming interface (API) that allows an application developer to use a third-generation language's native procedure or function calls to access the Oracle database server and control all phases of SQL statement execution. The OCI provides a library of standard database access and retrieval functions in the form of a dynamic runtime library, ORA*.DLL, that can be linked in by the application. Using BDE in Oracle oriented client/server applications has some deficiencies. So in consequence of BDE community get unable server specific features, use more resources, reduce speed of processing data, cumbrous distribution of an application and its administration. Thanks for easyblue

604

社区成员

发帖
与我相关
我的任务
社区描述
C++ Builder VCL组件使用和开发
社区管理员
  • VCL组件使用和开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧