问题
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