问题标签 [c++builder-xe5]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
2 回答
1108 浏览

xcode - Embarcadero RAD Studio / FireMonkey 是否与 XCode 5 一起使用?

现在 XCode 5 已经正式发布,并且 App Store 提示我升级到 XCode 5,有人知道使用它与 RAD Studio XE5/FireMonkey 一起开发 Mac 和 iOS 应用程序是否有任何问题?

此外,由于 XCode 5 支持 iOS 7,使用 RAD Studio XE5/FireMonkey 为 iOS 7 开发是否有任何问题?

0 投票
1 回答
1496 浏览

c++ - C++ Builder XE5 链接器无法打开 WINDOWS.OBJ

尝试在 XE5 中编译 C++ 项目时,出现以下错误:

我已经在我的 Delphi 单元中使用“Windows”而不是“WinTypes”和“WinProcs”。

在“Delphi 编译器”->“单元范围”下还有“WinAPI”条目。

有谁知道可能是什么问题?

0 投票
1 回答
229 浏览

c++builder - in XE5 everytime I make a project it recompile everything

Does anyone know how to setup the make option to stop recompiling everything every time? Thanks in advance.

0 投票
2 回答
383 浏览

c++builder - TRichEdit 不逐行滚动

我第一次有一个 TMemo,当我抓住滚动条拇指时,备忘录内容逐行滚动,这意味着逐像素不平滑。

然后我转而使用 TRichEdit 控件。但现在它可以逐像素平滑滚动。

有没有办法将 TRichEdit 控件配置为更像 TMemo 控件,一次滚动一整行?

我确实意识到 TRichEdit 可以根据所选样式具有不同的行高。但是,如果顶线始终对齐(不显示一半),这应该不是问题。

如果没有简单的方法,我可以调整 WM_VSCROLL 消息中的位置...

0 投票
1 回答
776 浏览

c++builder - RichEdit 从像素位置获取线

如果我在 TRichEdit 控件内单击,如何从鼠标客户端坐标中获取 Line 索引(我单击)?

换句话说,如何将客户端坐标转换为线索引?

***编辑我实际上并没有在 TRichEdit 控件内部单击,而是在另一个控件中单击,并且需要与 TRichEdit 控件的行号同步。

0 投票
2 回答
543 浏览

c++builder - TRichEdit 暂停/恢复撤销功能

有没有办法暂停/恢复 TRichEdit 控件中的撤消记录?是否有要发送的消息或要设置的模式?

编辑
我已经通过使用 ITextDocument 接口解决了它。请看我下面的帖子。

0 投票
1 回答
98 浏览

event-handling - 如何从事件处理程序中调用默认处理程序

我有一个带有 4 个面板的 TStatusbar,其中一个设置为 OwnerDraw 样式。

onDrawPanel()事件处理程序中,我希望TStatusbar在添加一些自定义绘图之前使用默认绘制方法。

有没有办法可以从我的 onDrawPanel 处理程序调用默认处理程序?

编辑 好吧,我确实找到了一个修复程序,但我不确定如果系统字体更改它有多可靠。由于默认处理程序仅绘制面板文本,因此对 TextRect 的简单调用将执行相同的操作。

但是,如果系统字体、语言等不是默认设置,我不确定这将如何运作。

我仍然想得到原始问题的答案。

0 投票
2 回答
653 浏览

c++ - 如何外壳到另一个应用程序并让它以 Borland VCL 形式出现 (c++)

我实际上负责 FIP 网络 c++ 应用程序,第一次使用 Embarcadero C++ Builder XE5。该应用程序即将完成,但我找不到如何实现最后一个功能......

我想打开一个外部 Windows 超级终端,以查看给定 COM 端口上发生的情况,为此我使用 ShellExecute() 从我的应用程序启动它,但它有点难看,因为有 2 个不同的窗口。

我想知道是否可以将这个新打开的超级终端集成到现有表单(例如面板)中。 除了这个 => Delphi style之外,我找不到任何相关的东西,但我不明白@mghie 答案的一个字节,因为它是 delphi。

如果有人有线索我真的很感兴趣,即使是最基本的线索!

0 投票
1 回答
925 浏览

c++builder - How to traceroute with Indy10 TIdIcmpClient?

To do a trace route we can read in the Indy documentation

"For Traceroute application, send ping echo requests with increased TTL values"

The problem is that the TTL property is protected and can't be set. Is this just another bug or do I really have to define a new class to make the TTL property public?

However, I did a new class (including the Ping work around):

If I set TTL to 5 and call Ping to google.com (I have checked that there is 6 TTL to google.com from my location).

So a TTL of 5 will generate an ICMP timeout message and according to the documentation, the last IP will be returned. But instead I get IP 0.0.0.0. This is the member values of AReplyStatus in the OnReply(TComponent *ASender, const TReplyStatus *AReplyStatus) callback.

If I change the TTL to 6 everything works as expected (google.com answers) and I get rsEcho in return.

So to clarify the question:
How can I do a traceroute (Incrementing TTL) to collect all the router IP addresses along the way?

0 投票
2 回答
349 浏览

c++ - 在 C++Builder XE5 上使用 Synapse(互联网访问)时未解决的外部问题

在我的新 C++Builder XE5 上链接 (Ararat) Synapse 库时遇到了一些麻烦。在此之前,我使用 C++Builder XE2,一切正常。现在我用 C++Builder XE5 创建了一个新项目,并在简单的按钮单击事件处理程序方法上添加了一些代码。编码:

单元1.h

单元1.cpp

现在我收到了 2 个链接错误:

在项目选项中,我包含了一个包含 Synapse 文件的目录

这个错误怎么解决???

这是我正在使用的 Synapse 源的链接:http: //filetonet.com/AAA124f20433ab06682a1443633d799fa5bhttp://yadi.sk/d/UKJKR2hoHtD9q