T
tballard
Guest
This is kind of complicated to repro but I have isolated it as small as possible. I noticed it when using TLBIMP, some interfaces were not visible in Object Browser, when set to "My Solution" - but I could see them when I added them to "Custom Component list". It happens when the interface is marked as "dual".
Repro:
1) Create an IDL file and make an Interface inheriting from IDispatch, add the "dual" attribute.
2) Use MIDL.EXE and TLBIMP.EXE to make a DLL
3) Reference the DLL from Visual C# project (I am using 15.9.3).
4) The interface is not visible in Object Browser unless you "view hidden members and types".
5) Close the project, and add the DLL to "Custom Component list". The interface *is* visible without showing hidden members and types.
6) Finally, go back to the IDL file and remove the "dual" attribute. Now it shows up without being hidden.
So, why are dual interfaces hidden by default in Object Browser, but only in My Solution view with a project open? I have a feeling this is not a bug, I just don't have some setting properly set.
Thanks.
Continue reading...
Repro:
1) Create an IDL file and make an Interface inheriting from IDispatch, add the "dual" attribute.
2) Use MIDL.EXE and TLBIMP.EXE to make a DLL
3) Reference the DLL from Visual C# project (I am using 15.9.3).
4) The interface is not visible in Object Browser unless you "view hidden members and types".
5) Close the project, and add the DLL to "Custom Component list". The interface *is* visible without showing hidden members and types.
6) Finally, go back to the IDL file and remove the "dual" attribute. Now it shows up without being hidden.
So, why are dual interfaces hidden by default in Object Browser, but only in My Solution view with a project open? I have a feeling this is not a bug, I just don't have some setting properly set.
Thanks.
Continue reading...