“VersionCompatible32=”1””是什么意思?意思是在VBP文件中?
我有一个 VB6 项目,当我检查 VB6 项目文件的更改时,我注意到 Visual Studio 6 IDE 自动插入了以下行:
VersionCompatible32="1"
这是什么意思?
顺便说一句:有没有好的资源可以帮助我理解 VBP 文件?
I have a VB6 project, when I came to check in changes to the VB6 project file I noticed that the Visual Studio 6 IDE had automatically inserted the following line:
VersionCompatible32="1"
What does this mean?
As an aside: Is there a good resource to help me make sense of the VBP file?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
VBP 文件中的 VersionCompatible32 值似乎是 ActiveX 项目的二进制兼容性设置的一部分,可能是它需要兼容的类型库(一个库中可以有多个)。
当我的项目设置为“否”或只是项目兼容性时,该值将被删除。
请注意,兼容性设置本身存储在
CompatibleMode
值中。The
VersionCompatible32
value in the VBP file seems to be part of the binary compatibility settings of an ActiveX project, maybe the typelib it needs to be compatible with (there can be several in a library).When my project is set to no, or just project compatibility, this value is removed.
Note that the compatibility setting itself is stored in the
CompatibleMode
value.首先,我认为手动编辑 VBP 文件不是一个好主意。据我所知,VersionCompatible32 是有关用于保存此文件的 VB(A) 版本的提示,可能是为了让较新的版本能够识别文件格式的更改。
First of all, I don't think it is a good idea to edit the VBP file manually. As far as I know, VersionCompatible32 is a hint about the VB(A) version that was used to save this file, probably for newer versions to recognize changes in the file format.