导航:
论坛 -> 经典工具
斑竹:liumazi,ruralboy
作者:
lsuper (lsuper)
★☆☆☆☆
-
盒子活跃会员
2017/5/14 2:42:31
标题:
System.ByteStrings for Delphi 10.2
浏览:4545
加入我的收藏
楼主:
1、通过研究 Andreas Hausladen 大神 Andy's Blog and Tools 的 http://andy.jgknet.de/blog/?s=System.ByteStrings,实现 Delphi 10.2 上的 System.ByteStrings 2、大神没有公开 System.ByteStrings 的制作方法,惯例我也只发布 dcu、o 文件 3、偷懒了,README.md 内容主要来自大神的 http://andy.jgknet.de/blog/2016/05/system-bytestrings-for-10-1-berlin/ 希望大神别介意哈 BTW:对 Andreas Hausladen 大神很崇拜,感谢大神为广大 Delphier 们带来的 IDEFixPack、VCLFixPack、FastDCC 等等牛货!谨以此 Delphi 10.2 的 System.ByteStrings 向大神致敬! # System.ByteStrings Unofficial ByteStrings Patch To Enable AnsiString Support In Delphi Next Generation Current: System.ByteStrings for 10.2 Berlin Delphi 10.1+ Berlin reintroduces UTF8String and RawByteString for the NextGen compilers (Android, iOS, Linux). But ShortString and AnsiString are still missing. The compiler has full support for them but you can’t use them because they are declared with a leading underscore in the System.pas unit what makes them inaccessible because “_” is compiled to “@” what you can’t use for an identifier. By patching DCU files it is possible to make those hidden types accessible. The unit System.ByteStrings for 10.2 Berlin reintroduces ShortString AnsiString AnsiChar PAnsiChar PPAnsiChar UTF8String (XE5-10 Seattle) PUTF8String (XE5-10 Seattle) RawByteString (XE5-10 Seattle) PRawByteString (XE5-10 Seattle) Usage: Add the System.ByteStrings.dcu’s path to the compiler’s search path and add the unit to your uses clauses. There is no *.PAS file because the DCU is patched with a hex editor to get access to the hidden types.
----------------------------------------------
-
作者:
lsuper (lsuper)
★☆☆☆☆
-
盒子活跃会员
2017/5/14 2:57:23
1楼:
希望对像我这样的,想快速移植老代码到 Linux64 的 Delphier 有点用 ~ ;>
----------------------------------------------
-
作者:
2017/5/14 8:38:58
2楼:
顶一下 牛人。 楼主 ,可以考虑做个直播了,
----------------------------------------------
我打的是酱油,而不是别的什么油。 我灌的是口水,而不是别的什么水。 我聊的折腾不是那个不折腾的折腾。 我说的阿娇不是那个邓玉娇的阿娇。 3个代表,6个为什么,9个肠胃炎。 D性强的领导干部都不喜欢热比娅。 我特别要讲的是,屁民网黄色论坛是我经常上网必选的 网站之一
作者:
2017/5/14 15:52:15
4楼:
10.2 tokyo现在能用吗,fix解决了BUG 是否可以用于生产环境了,还请大神解疑
----------------------------------------------
-
作者:
lsuper (lsuper)
★☆☆☆☆
-
盒子活跃会员
2017/5/14 19:58:05
5楼:
@hujiacheng ( 旺财):确实没有源码,有 pas 也是用不了的(emb 的限制),需要如 Andreas Hausladen 大神所说的黑科技 ~ @shileizi (sl):也在摸索中,打算迁到 linux 玩玩 docker DevOps ~
----------------------------------------------
-
作者:
2017/5/14 23:54:58
6楼:
楼主,你怎么肯定这个andy就是 Andreas Hausladen?
----------------------------------------------
-上帝给我们的脑子编程,我们给电脑编程,可上帝却始终站在电脑一边...
作者:
2017/5/15 14:00:51
7楼:
厉害了,还能这样玩??? 那些汇编代码咋办???
----------------------------------------------
Delphi威武!千秋万代,一统江湖!Delphi威武!千秋万代,一统江湖!Delphi威武!千秋万代,一统江湖!Delphi威武!千秋万代,一统江湖!Delphi威武!千秋万代,一统江湖!Delphi威武!千秋万代,一统江湖!Delphi威武!千秋万代,一统江湖!我去WC吐一会儿去!
作者:
2017/5/22 17:06:03
8楼:
赞,刚好要切换老程序用到。
----------------------------------------------
-
作者:
lsuper (lsuper)
★☆☆☆☆
-
盒子活跃会员
2019/3/7 17:19:32
9楼:
刚更新对 Delphi 10.3 RIO 的支持,基于 10.3.1 的 ~
----------------------------------------------
-