Compiling a VB6 COM DLL through command line gets

2019-08-05 13:06发布

问题:

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....



标签: com vb6 clsid