<?xml version='1.0' encoding='gb2312'?>
<rss version='2.0'>
<channel>
<title>盒子论坛</title>
<description>DELPHI盒子技术论坛</description>
<link>https://bbs.2ccc.com/</link>
<language>zh-cn</language>
<copyright>Copyright 2004, bbs.2ccc.com</copyright>
<webMaster>root@2ccc.com</webMaster>
<docs>https://bbs.2ccc.com/rss.asp</docs>
<generator>Rss Generator By bbs.2ccc.com</generator>
<item>
<title><![CDATA[文字识别（微软OCR） [含附件]]]></title>
<link>https://bbs.2ccc.com/topic.asp?topicid=767829</link>
<author>lr46752881 </author>
<description><![CDATA[AI写的，给delphier参考一下]]></description>
<comments>回复:0 浏览:8</comments>
<pubDate>Tue, 14 Jul 2026 17:07:00 GMT</pubDate>
</item>
<item>
<title><![CDATA[Delphi KAI 有点意思]]></title>
<link>https://bbs.2ccc.com/topic.asp?topicid=767828</link>
<author>pcplayer </author>
<description><![CDATA[看了一下最新的 KAI 是视频，集成在 IDE 里面的 AI Agent，直接写代码到 IDE 里面，马上就可以运行。

应该是在背后预先写了不少和 Delphi 相关的 Skill，以及提供了让 AI 可以直接操控 IDE 写代码的能力，不知道是不是通过 MCP SERVER 来实现。]]></description>
<comments>回复:0 浏览:15</comments>
<pubDate>Tue, 14 Jul 2026 16:07:00 GMT</pubDate>
</item>
<item>
<title><![CDATA[qdialog_builder DPI修复版本. [含附件]]]></title>
<link>https://bbs.2ccc.com/topic.asp?topicid=767826</link>
<author>tuesdays </author>
<description><![CDATA[用AI修复的, 支持屏幕缩放, 高DPI兼容. 
相对完美的一版. 
13.1兼容]]></description>
<comments>回复:0 浏览:59</comments>
<pubDate>Tue, 14 Jul 2026 06:07:00 GMT</pubDate>
</item>
<item>
<title><![CDATA[delphi 13 debug 调试模式，单步跟踪时调试候，非常卡，要等好久才到下一步]]></title>
<link>https://bbs.2ccc.com/topic.asp?topicid=767811</link>
<author>zwrj </author>
<description><![CDATA[delphi 13 debug 调试模式，单步跟踪时调试候，非常卡，要等好久才到下一步。这个是 delphi13 的bug 吗？ 还是设置的原因]]></description>
<comments>回复:6 浏览:95</comments>
<pubDate>Mon, 13 Jul 2026 15:07:00 GMT</pubDate>
</item>
<item>
<title><![CDATA[新手求助GroupBox的style不一致 [含附件]]]></title>
<link>https://bbs.2ccc.com/topic.asp?topicid=767803</link>
<author>mp654kk </author>
<description><![CDATA[安卓环境在使用skia的情况下,如果屏幕方向是横向,groupbox就不会按我设置的style显示,横线穿过了标题,请问如何避免,谢谢!]]></description>
<comments>回复:6 浏览:72</comments>
<pubDate>Mon, 13 Jul 2026 06:07:00 GMT</pubDate>
</item>
<item>
<title><![CDATA[VCL 程序启用 Style 后的奇怪现象]]></title>
<link>https://bbs.2ccc.com/topic.asp?topicid=767796</link>
<author>pcplayer </author>
<description><![CDATA[我的代码在 FormCreate 里面：

TStyleManager.TrySetStyle(VCLStylesCB.Items[VCLStylesCB.ItemIndex], False);  这行代码的意思是执行 Style 下拉框里面选择的 Style；

程序一直好好的，今天突然发现，程序运行后，界面上的文字或者按钮，会不停的闪烁，界面响应迟钝，鼠标点 N 多次，才响应一次。
---

查来查去，发现很奇怪的现象：
1. Style 选择其它的都没问题，只有 Sky 这个有问题。我的理解 Style 应该不是程序，怎么会不同的 Style 程序运行的结果不同？

2. 程序启动时，Style 是 Ske (选择的哪个，是从配置文件加载的)，就有闪烁的问题。如果是其它 Style 就没问题，等程序启动完成后，通过下拉框选择 Sky，切换正常，界面也不闪烁了。

---
但之前也有 Sky 这个 Style 没发现这个现象。再查程序，我在 FormCreate 里面，有一行新加的代码，是为了避免界面上的动画闪烁而增加的：

SetWindowLong(Handle, GWL_EXSTYLE, GetWindowLong(Handle, GWL_EXSTYLE) or WS_EX_COMPOSITED);

屏蔽掉上面这行代码，问题消失。

----------
上面这行代码的来源：AI 建议。

使用上面这行代码的原因：

我搞了个动画，一个 VCL Toast 的提示动画，从屏幕顶部跑出来，动画闪烁厉害。设置 DoubleBuffer 都不能解决问题，然后 AI 建议加上那一行。加了以后，动画还是闪。没解决问题。没想到会导致使用某个 Style 的时候界面闪烁。

----
动画闪烁的问题：

Form, Panel 总之能够设置的，都设置了 DoubleBuffer，还是闪烁。最后才想到是不是 TitleBarPanel 导致的。一测试，把动画放到一个 Panel 上，果然不闪烁了。

因为 TitleBarPanel1 就是在屏幕顶部，如果动画从屏幕顶部出来，即使设置 TitleBarPanel1 的 DoubleBuffer 也没有用，动画还是闪烁。

不知道 D13 解决了 TitleBarPanel1 的问题没有。之前有发现 TitleBarPanel1  不会跟随 Form 的 Style。]]></description>
<comments>回复:3 浏览:138</comments>
<pubDate>Sun, 12 Jul 2026 18:07:00 GMT</pubDate>
</item>
<item>
<title><![CDATA[发现一个必须启用skia的理由 [含附件]]]></title>
<link>https://bbs.2ccc.com/topic.asp?topicid=767794</link>
<author>mp654kk </author>
<description><![CDATA[一个圆角矩形使用渐变画刷后如果不启用skia
在安卓手机上居然显示不出来 请见附件 这是何解啊]]></description>
<comments>回复:5 浏览:218</comments>
<pubDate>Sun, 12 Jul 2026 16:07:00 GMT</pubDate>
</item>
<item>
<title><![CDATA[cnPack 的问题]]></title>
<link>https://bbs.2ccc.com/topic.asp?topicid=767793</link>
<author>pcplayer </author>
<description><![CDATA[Delphi 12.1 CE 版本；
cnPack: 版本 1.7.1.1309 Build 2026.01.01

安装 cnPack 以后，Button.  打个点，等代码提示出来，有一半的时候，会出现异常提示：Access violation at address 5E541DF9 in module 'coreide290.bpl'. Read of address 00000012.

点掉异常提示，继续操作，又没问题了。

总之在代码输入过程中，时不时会出这个异常。]]></description>
<comments>回复:1 浏览:89</comments>
<pubDate>Sun, 12 Jul 2026 15:07:00 GMT</pubDate>
</item>
<item>
<title><![CDATA[EXE 文件下载的安全检查]]></title>
<link>https://bbs.2ccc.com/topic.asp?topicid=767787</link>
<author>pcplayer </author>
<description><![CDATA[一个空白的 VCL 程序，编译为 test.exe，放到 Web Server 里面，Edge浏览器下载它，Windows defender 提示说不安全，以前提示里面还有“保留”选项，现在连这个保留选项都没有了。

但是，我下载 cnPack 的安装程序，也是个 EXE，没有安全提示，直接下载文件成功。

是这个 EXE 需要做什么签名之类的吗？]]></description>
<comments>回复:3 浏览:122</comments>
<pubDate>Sun, 12 Jul 2026 02:07:00 GMT</pubDate>
</item>
<item>
<title><![CDATA[TStringList.SaveToFile 的编码问题]]></title>
<link>https://bbs.2ccc.com/topic.asp?topicid=767767</link>
<author>pcplayer </author>
<description><![CDATA[StringList.SaveToFile(AFileName, TEncoding.UTF8);

StringList.SaveToFile(AFileName, TEncoding.ANSI);

这两行代码，看意思就知道是什么意思，在我自己的电脑上，以及我在其它电脑上测试，结果也的确没问题。

首先，我的测试内容是纯英文，没有中文字符。

1. 保存的 UTF8 ，是带 BOM 的 UTF8；
2. 保存的 ANSI，也是正常的 ANSI；

---
问题来了，我在某个虚拟机环境里面安装的 Windows Server ，系统语言设置的是中文，界面显示设置的是英文，有个系统字符设置，那里是 UTF8；

然后，StringList.SaveToFile(AFileName, TEncoding.ANSI); 这一行执行结果，保存的文件是带 BOM 的 UTF8，和 StringList.SaveToFile(AFileName, TEncoding.UTF8); 这一行的执行结果完全相同。

莫非 Windows 本身会强制改变保存的文件的格式？]]></description>
<comments>回复:13 浏览:226</comments>
<pubDate>Fri, 10 Jul 2026 05:07:00 GMT</pubDate>
</item>
<item>
<title><![CDATA[Google release LiteRT.js - Run Machine Learns directly on Browse with no Server needed!]]></title>
<link>https://bbs.2ccc.com/topic.asp?topicid=767763</link>
<author>emailx45 </author>
<description><![CDATA[[img]https://i.ibb.co/DDGsLT8k/Sem-t-tulo.png[/img]

Google has just launched LiteRT.js, a new library that enables machine learning models to run locally within the web browser, bypassing the need for server-side processing. The firm said this will bring native AI performance to web browsers via its mobile-focused LiteRT runtime, though LiteRT.js also works on desktops.

The new library uses WebAssembly and hardware acceleration such as WebGPU and WebNN to replace the slower TensorFlow.js, which uses a slower JavaScript-based kernel.

The LiteRT runtime has been reserved for Android and iOS until now. With today’s update, Google is exposing the runtime via WebAssembly to turn the browser into a more capable platform for AI and ML workloads.

The search giant claims that this new runtime delivers 3x greater speeds over existing solutions on current hardware. Specifically, it was tested on a 2024 Apple MacBook Pro with M4 Silicon. In the real world, for users on older hardware or using browsers with different engines, performance could vary significantly.

For developers looking to switch over from TensorFlow.js, the process is straightforward. If you already have a .tflite file, you just need to switch your JavaScript runtime to LiteRT.js. However, if you have a TensorFlow/Keras SavedModel, then you can use the LiteRT Converter built into the Python TensorFlow package. You can read more about the conversion process on Google for Developers.

Going forward, it will be interesting to see whether Google eventually sunsets or de-prioritizes TensorFlow.js in favor of LiteRT.js. It will also be interesting to see how it really performs on other hardware besides a MacBook.


source:
https://developers.googleblog.com/litertjs-googles-high-performance-web-ai-inference/]]></description>
<comments>回复:3 浏览:69</comments>
<pubDate>Fri, 10 Jul 2026 02:07:00 GMT</pubDate>
</item>
<item>
<title><![CDATA[常用控件合集 2026.7.7]]></title>
<link>https://bbs.2ccc.com/topic.asp?topicid=767762</link>
<author>tms2021 </author>
<description><![CDATA[控件下载请加QQ群：462884906

请勿转发！


通过网盘分享的文件：常用控件合集 2026.7.7.7z
链接: https://pan.baidu.com/s/1xt3YIHPVo0PuUboh7TUqJQ 提取码: pxyb 
--来自百度网盘超级会员v7的分享]]></description>
<comments>回复:6 浏览:200</comments>
<pubDate>Fri, 10 Jul 2026 01:07:00 GMT</pubDate>
</item>
<item>
<title><![CDATA[UniGUI_1.95.0.1613(完整版 英文 安装工具)]]></title>
<link>https://bbs.2ccc.com/topic.asp?topicid=767760</link>
<author>tms2021 </author>
<description><![CDATA[控件下载请加QQ群：462884906

请勿转发！
通过网盘分享的文件：UniGUI_1.95.0.1613(完整版 英文 安装工具).7z
链接: https://pan.baidu.com/s/1H6oagBQDEOanOswy_bhWJg 提取码: jyfa 
--来自百度网盘超级会员v7的分享]]></description>
<comments>回复:1 浏览:62</comments>
<pubDate>Fri, 10 Jul 2026 01:07:00 GMT</pubDate>
</item>
<item>
<title><![CDATA[UniGUI_1.95.0.1613(完整版 汉化 安装工具)]]></title>
<link>https://bbs.2ccc.com/topic.asp?topicid=767761</link>
<author>tms2021 </author>
<description><![CDATA[控件下载请加QQ群：462884906

请勿转发！

通过网盘分享的文件：UniGUI_1.95.0.1613(完整版 汉化 安装工具).7z
链接: https://pan.baidu.com/s/1TJIhCbjVxt1KghZbtpekvw 提取码: 4qas 
--来自百度网盘超级会员v7的分享]]></description>
<comments>回复:1 浏览:106</comments>
<pubDate>Fri, 10 Jul 2026 01:07:00 GMT</pubDate>
</item>
<item>
<title><![CDATA[请问cnpack有查找所有引用的功能吗]]></title>
<link>https://bbs.2ccc.com/topic.asp?topicid=767745</link>
<author>mp654kk </author>
<description><![CDATA[https://bbs.cnpack.org/viewthread.php?tid=241225&page=1&extra=page%3D1#pid261350]]></description>
<comments>回复:7 浏览:123</comments>
<pubDate>Wed, 08 Jul 2026 02:07:00 GMT</pubDate>
</item>
</channel></rss>