Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
让我们dllproject.vbp成为一个 DLL VB6 项目。
dllproject.vbp
每次我通过这条线编译:
VB6.EXE /MAKE dllproject.vbp /outdir somedir
编译器生成一个带有另一个 CLSID 的 dll。为什么 ?
(编辑)
在这里找到了原因。
简而言之,必须激活二进制兼容性。例如,一个好方法是保留 dll 的副本(重命名为 .cmp)并引用此副本以实现版本兼容性(项目 -> [项目名称] 属性...。