
Retain Class ID and Interface ID of ActiveX dll created in Visual Basic
You need to specify "Binary Compatibility" in the Component tab of the Projects
Properties. This will retain the cslid value unless you alter any of the
classes defined properties, methods, or events. (You can add new ones without
the cslid changing, you just can't change parameters of existing, or remove
existing).
Quote:
> Hello,
> I have created an Active X dll in Visual Basic(5.0) and I tried to use it
> from VC++(5.0). I have obtained the CLSID and Interface ID and tried using
> it.Everything works fine.
> But when I 'Make ActiveX dll' again after small changes, the class
> id(CLSID) and the interface ID's changes. I have to rewrite that portion in
> VC++. Is there anyway I Make the Active DLL retaining the class id(CLSID)
> and Interface ID?
> Thanks in advance,
> Ramesh