BUG: No Incompatibility Error When Interface Changes
Article ID: 190507
Article Last Modified on 5/13/2003
APPLIES TO
- Microsoft Visual Basic 6.0 Learning Edition
- Microsoft Visual Basic 6.0 Professional Edition
- Microsoft Visual Basic 6.0 Enterprise Edition
This article was previously published under Q190507
SYMPTOMS
If an ActiveX DLL project has a subroutine that takes a class in another
ActiveX DLL as its parameter, modifying the class will not generate an
incompatibility error when the project runs in the design environment, even
though the class is set to be binary compatible.
CAUSE
While compiling a project that references an ActiveX DLL that has been
modified, Visual Basic will replace the reference to the old DLL with the
one to the new DLL. After that, it compiles the project and replaces the
reference back to the old DLL. However, while running the project in design
environment, this reference replacement does not occur since no compilation
is done. Therefore the expected incompatibility error only occurs in
compilation but not in the design environment.
RESOLUTION
Compiling the DLL corrects this behavior.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article. We are researching this bug and will post
new information here in the Microsoft Knowledge Base as it becomes
available.
Additional query words: kbdss kbDSupport kbVBp kbVBp600bug kbActiveX kbAutomation
Keywords: kbbug KB190507