BUG: [[BadImplementsRefInCompatLib]] Error Message
ID: Q190078
|
The information in this article applies to:
-
Microsoft Visual Basic Learning, Professional, and Enterprise Editions for Windows, version 6.0
SYMPTOMS
If a Binary Compatible Server implements an interface from a DLL, and the
DLL is recompiled as Project Compatible so that its interface GUID is
changed, then the [[BadImplementsReflnCompatLib]] error occurs when the
Server is recompiled.
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.
MORE INFORMATION
Steps to Reproduce Behavior
- Create a new ActiveX DLL project. Class1 is created by default.
- From the Project menu, select Project Properties. Change the Project
name to MyServer.
- In Class1, paste the following code:
Public Sub Test()
End Sub
- Select Make MyServer.dll from the File menu.
- From the File menu, select Add Project to add another new ActiveX
DLL project to the current workspace.
- Change the Project Name to MyNewServer.
- Select References from the Project menu, and then select MyServer.
- In Class1, paste the following code:
Implements MyServer.Class1
Private Sub Class1_Test()
End Sub
- From the File menu, select Make MyNewServer.dll.
- Select MyNewServer Properties from the Project menu. Select the
Component tab and set version compatibility to Binary Compatibility with
MyNewServer.dll.
- Repeat step 4 to compile MyServer as MyServer.dll again
NOTE: Project Compatibility is set automatically.
- Repeat step 9 to compile MyNewServer. Note that the error described
above occurs.
Additional query words:
kbDSupport kbVBp600bug kbCompiler kbdss kbVBp
Keywords : kbGrpVB
Version : WINDOWS:6.0
Platform : WINDOWS
Issue type : kbbug