PRB: VSS OLE Add-in Model Not Supported by Visual Basic 4.0 (157715)



The information in this article applies to:

  • Microsoft Visual SourceSafe for Windows 5.0
  • Microsoft Visual Basic Enterprise Edition for Windows 4.0

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.

Modification Type:MajorLast Reviewed:6/29/2004
Keywords:kbinterop kbprb KB157715