Microsoft KB Archive/157715

= PRB: VSS OLE Add-in Model Not Supported by Visual Basic 4.0 =

Article ID: 157715

Article Last Modified on 6/29/2004

-

APPLIES TO


 * Microsoft Visual SourceSafe 5.0 Standard Edition
 * Microsoft Visual Basic 4.0 Enterprise Edition

-



This article was previously published under Q157715



SYMPTOMS
When creating an add-in OLE server with Visual Basic 4.0, Visual SourceSafe may crash or may not register the add-in properly.



CAUSE
Visual Basic 4.0 does not support creating OLE interfaces. This is required by the OLE automation add-in model in order to create an add-in OLE server.



RESOLUTION
A language that supports OLE interfaces, such as Microsoft Visual C++, should be used.



STATUS
This behavior is by design.



MORE INFORMATION
The Visual SourceSafe add-in model expects an IVSSEventHandler interface that has an INIT event exposed. If this interface is not available, Visual SourceSafe cannot establish the communication channel between itself and the add-in OLE server.

Keywords: kbinterop kbprb KB157715

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.