delphi - 德尔福 2009 中的 "Delphi Fundamentals"

标签 delphi unicode delphi-2009

有人在 Delphi 2009 中使用/转换过“Delphi Fundamentals”吗? -http://fundementals.sourceforge.net/

我在我的项目中使用字典(cArrays.pas、cDictionaries.pas、cStrings.pas、cTypes.pas),现在我在升级代码时遇到了一些麻烦。

如果有人可以在 Delphi 2009 中转换上述单位,我将不胜感激。我对 Delphi 还很陌生,从 2007 年开始工作,2009 已经发布了,我只是无法控制自己......

谢谢

最佳答案

我在项目中使用 cUtils、cDateTime 和 cStrings。

经过 30 分钟的疯狂搜索和替换,我让它们在 Delphi 2009 中编译,只剩下几个警告需要修复。

  • 查尔>>>>安西查尔
  • 字符串>>>>AnsiString
  • PChar>>>>PAnsiChar
  • PString>>>>PAnsiString

它通过了所有的自测试,到目前为止一切似乎都运行良好。我在这里分享了:http://www.xs4all.nl/~niff/Fundamentals_UtilsD2009.zip

更新 我已将移植的 cDataStructs.pas 添加到 zip 文件中,其中包含字典类。这个仍然有很多你可能想要修复的编译器警告,但是自测试通过了,所以你可以尝试看看它是否适合你..

关于delphi - 德尔福 2009 中的 "Delphi Fundamentals",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/946296/

相关文章:

javascript - 在 JavaScript 文本字符串中插入像\u1d6fc 这样的 unicode

delphi - 当程序在一定时间内不使用时自动关闭

delphi - T编辑焦点和插入符

delphi - Delphi 中的实时麦克风?

python - UnicodeDecodeError 与 pandas.read_sql

python - 在 jupyter notebook : UnicodeDecodeError: codec can't decode byte xx 中读取一个文本文件

delphi - 在 Delphi 中强制非阻塞临时提示窗口

multithreading - Delphi 2009 等待链遍历在 Windows 7 安装中可用吗?

delphi - 控制台应用程序中的 TIdTCPServer.OnExecute

ios - Firemonkey iOS TExpanderButton onclick