Delphi 2009 Delphi 2007 (any old version) is STRING type:
来源:互联网 发布:淘宝店铺快递费 编辑:程序博客网 时间:2024/05/21 22:53
Delphi 2009 <> Delphi 2007 (any old version) is STRING type:
+ In Delphi2009 (12),
type STRING = UnicodeString
UnicodeString is not the same WideString
+ In Delphi 2007 (6,7,8,9,10,11)
STRING is the same AnsiString
WideString support for Unicode.
Because any different type in old version with Delphi 2009, someone must change anything in the PAS files of the old version:
+ In package, replace VclJpg with VclImg
+ Replace WideString with string
+ Replace WideChar with Char.
You look WideCharToMultibyte, MultibyteToWideChar may be error! Because "WideChar"-->"Char"
+ Replace WChar with Char
+ Replace AnsiStrComp with StrComp
Do that with any Ansi function.
+ Find some words as "Ansi" to remove it if you need.
When above replacements is done, you are successful!
+ In Delphi2009 (12),
type STRING = UnicodeString
UnicodeString is not the same WideString
+ In Delphi 2007 (6,7,8,9,10,11)
STRING is the same AnsiString
WideString support for Unicode.
Because any different type in old version with Delphi 2009, someone must change anything in the PAS files of the old version:
+ In package, replace VclJpg with VclImg
+ Replace WideString with string
+ Replace WideChar with Char.
You look WideCharToMultibyte, MultibyteToWideChar may be error! Because "WideChar"-->"Char"
+ Replace WChar with Char
+ Replace AnsiStrComp with StrComp
Do that with any Ansi function.
+ Find some words as "Ansi" to remove it if you need.
When above replacements is done, you are successful!
- Delphi 2009 Delphi 2007 (any old version) is STRING type:
- Print any type of document using Delphi
- 'PLAN_TABLE' is old version
- delphi type
- 解决 'PLAN_TABLE' is old version
- Delphi - 关于错误E2002 File Type is not allowed here
- Delphi 2009 – String Performance
- Delphi中的Type
- Your flex version is too old.
- Oracle 解决'PLAN_TABLE' is old version问题
- sdk platform-tools version is too old
- delphi zlib version 1.2.7
- delphi string 汇编
- 【Delphi】string内存结构
- Delphi Data Type to C# Data Type
- DElphi
- Delphi
- delphi...
- 普通文件的欺骗手法
- 安装虚拟机
- Access数据库压缩修复函数备份一举三得
- 新手
- 脑力急转弯 逻辑与创意
- Delphi 2009 Delphi 2007 (any old version) is STRING type:
- 使用vbs下载文件
- CSDN阅帖助手 c#的一个小工具
- 让Apache拒绝网络流氓蜘蛛
- ajax updatepannel中response.write()问题
- color值存入数据库中,或二次开发接口使用问题
- 全局变量的安排
- C++编码规范
- Linux Shell : Test命令参数解析