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

Last reviewed: October 18, 1996
Article ID: Q157715
The information in this article applies to:
  • Microsoft Visual SourceSafe, 32-bit, for Windows, version 5.0
  • Microsoft Visual Basic Enterprise Edition for Windows, version 4.0

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.


KBCategory: kbinterop kbole kbprb
KBSubcategory: ssint ssvb
Additional reference words: 5.00 3.00b



THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: October 18, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.