BUG: QueryInterface Returning E_NOINTERFACE (216986)
The information in this article applies to:
- Microsoft Visual SourceSafe for Windows 5.0
- Microsoft Visual SourceSafe for Windows 6.0
This article was previously published under Q216986 SYMPTOMS
When creating OLE Automation in C that communicates with Microsoft Visual SourceSafe (VSS), if the program is created using VSS 5.0 OLE Automation and is then run on a computer that is using VSS 6.0, QueryInterface for versions can fail for the IID_IVSSVersion.
CAUSE
The VSS 6.0 Automation ignores the 5.0 IID_IVSSVersion.
RESOLUTION
If you have to create code that will run on computers using VSS 5.0 or VSS 6.0, see the following steps.
- Follow the steps in:
- Create two separate programs and call the correct one based on what version of VSS the computer is using.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
Modification Type: | Major | Last Reviewed: | 10/15/2002 |
---|
Keywords: | kbAutomation kbBug kbDSupport KB216986 |
---|
|