Compiling a VB6 COM DLL through command line gets a different CLSID each time

血红的双手。 提交于 2019-12-24 15:14:01

问题


Let dllproject.vbp be a DLL VB6 project.

Each time i compile through this Line :

VB6.EXE /MAKE dllproject.vbp  /outdir somedir

The compiler produce a dll with another CLSID. Why ?

(EDIT)


回答1:


Found why here.

In a few word, binary compatibility must be activated. A good way is to keep a copy of the dll (renamed .cmp) for example and reference this copy for version compatibility (Project -> [project name] properties....



来源:https://stackoverflow.com/questions/34681408/compiling-a-vb6-com-dll-through-command-line-gets-a-different-clsid-each-time

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!