Search code examples
comvb6clsid

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


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)


Solution

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