[英]How may I use `.CHM` files with a C++ Builder XE7 64-bit application?
I'm using Embarcadero C++ Builder XE7. 我正在使用Embarcadero C ++ Builder XE7。 I would like to use native help support in my software solution.
我想在软件解决方案中使用本机帮助支持。 I have worked on a 32-bit application and used standard
.CHM
files without issue. 我已经在32位应用程序上工作,并且使用标准
.CHM
文件没有问题。
I am now working on a 64-bit application and am having problems using .CHM
files. 我现在正在研究64位应用程序,使用
.CHM
文件时遇到问题。 If I press the F1
key, then a new help window is shown (help window for new ms Windows help) and there are no contents. 如果按
F1
键,将显示一个新的帮助窗口(新的ms Windows帮助的帮助窗口),并且没有任何内容。
I have the following questions: 我有以下问题:
.CHM
files (id context) with a 64-bit application? .CHM
文件(ID上下文)? .HLP
files? .HLP
文件? If so, how may I create this file? .CHM
files to .HLP
files? .CHM
文件转换为.HLP
文件? Overall question: How may I use .CHM
files (id context) with a 64-bit application? 总体问题:如何在64位应用程序中使用
.CHM
文件(id上下文)?
I use neither Delphi nor Embarcadero XE. 我既不使用Delphi也不使用Embarcadero XE。 But I'll try to give some hints as a possible answer to your questions.
但是,我会尝试给出一些提示,作为您问题的可能答案。
Please note *.hlp is not a new extension for a new help format. 请注意* .hlp 不是新的帮助格式的新扩展名。 It's a very old Microsoft help format.
这是一种非常古老的Microsoft帮助格式。
HTMLHelp (*.chm) also is many years old, used as successor for years and application help on Windows operating system today. HTMLHelp(* .chm)也已有很长的历史,在Windows操作系统上已用作多年的继承者和应用程序帮助。 So you have to connect your application and build your own F1-Help.
因此,您必须连接您的应用程序并构建自己的F1-Help。
I'd recommend searching SO by keywords (tags) before asking here. 我建议在这里问之前按关键字(标签)搜索。 Eg see:
例如:
How to use CHM HTML Help file with Delphi XE application? 如何在Delphi XE应用程序中使用CHM HTML帮助文件?
How to add support of HTML help files (.chm) on Delphi XE2? 如何在Delphi XE2上添加对HTML帮助文件(.chm)的支持?
Further information (only if you really want *.hlp to work with): 进一步的信息(仅当您确实希望使用* .hlp时):
32-bit Help files have been around for a long, long while. 32位帮助文件已经存在很长时间了。 Based on Rich Text Format, these files are a proprietary format for Windows computers.
这些文件基于RTF格式,是Windows计算机的专有格式。 Windows XP was the last operating system version to include WinHelp viewer, yet the popular file format has continued to be used.
Windows XP是最后一个包含WinHelp Viewer的操作系统版本,但仍继续使用流行的文件格式。 WinHelp (*.hlp) originally shipped with Windows 3.0 in 1990 and due to many vendors still utilizing these types of files and because a multitude of older applications are still in use, Microsoft has had to update the viewer application with each operating system after Windows XP.
WinHelp(* .hlp)最初于1990年随Windows 3.0一起提供,由于许多供应商仍在使用这些类型的文件,并且由于仍在使用许多较旧的应用程序,因此Microsoft必须在Windows之后使用每个操作系统更新查看器应用程序XP。 In 2006, Microsoft announced intentions to phase out support for the help file platform stating that it simply no longer met the standards set forth as they planned the development and release of Windows Vista.
在2006年,Microsoft宣布打算逐步停止对帮助文件平台的支持,指出它不再满足计划中的Windows Vista开发和发布时所规定的标准。 But you'll find some downloads out there:
但是您会发现一些下载内容:
WinHlp32.exe is required to display 32-bit Help files that have the ".hlp" file name extension. WinHlp32.exe是必需的,以显示文件扩展名为“ .hlp”的32位帮助文件。 To view .hlp files on Windows 8.1, you need to install this application.
要在Windows 8.1上查看.hlp文件,您需要安装此应用程序。
Windows Help program (WinHlp32.exe) for Windows 8.1 . Windows 8.1的Windows帮助程序(WinHlp32.exe) 。
Note that this is for Windows 8.1 ONLY. 请注意,这仅适用于Windows 8.1。 And, if you need to read .hlp files in Windows 7 and Windows Vista, you'll find the downloads for those operating systems below:
而且,如果您需要在Windows 7和Windows Vista中读取.hlp文件,则可以在下面找到这些操作系统的下载文件:
Windows Help program (WinHlp32.exe) for Windows 8 Windows 8的Windows帮助程序(WinHlp32.exe)
Windows Help program (WinHlp32.exe) for Windows 7 Windows 7的Windows帮助程序(WinHlp32.exe)
Windows Help program (WinHlp32.exe) for Windows Vista Windows Vista的Windows帮助程序(WinHlp32.exe)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.