1

I was under impression what VERSIONINFO resource is a purely Windows invention, however while reading documentation, I stumbled upon VOS_DOS possible value of fileos parameter of VERSIONINFO resource definition statement. Likewise, a binary equivalent, VS_FIXEDFILEINFO struct have dwFileOS member, which can have VOS_DOS value, designating what "The file was designed for MS-DOS." (??).

How can it be? I thought what MZ binary format simply does not have a room for such metadata... Am I missing something, like VERSIONINFO support in the greater MS-DOS versions and some kind of libraries to read it?

4

1 回答 1

2

普通 MZ 文件的资源数据没有标准。但是,NE 和 PE 文件可以在DOS 扩展程序的帮助下在 DOS 下执行。我相信微软自己在 Visual C 的某些版本中使用了Phar Lap,以便他们可以在 Windows 和 DOS 中运行相同的可执行文件。

似乎 NE 格式也用于MS DOS 4.0 的早期版本

于 2013-05-27T12:02:33.833 回答