FILE: Using VB4DLL.TXT File to Develop DLLs for Visual Basic

Last reviewed: September 17, 1997
Article ID: Q150705
4.00    | 4.00
WINDOWS | WINDOWS NT kbprg kbfile kbhowto

The information in this article applies to:

  • Standard, Professional, and Enterprise Editions of Microsoft Visual Basic, 16-bit and 32-bit, for Windows, version 4.0

SUMMARY

This article describes the file, Vb4dll.txt, that contains information about developing DLLs for use with Visual Basic. This file ships with all editions of Visual Basic and is installed in the main Visual Basic directory. This file is also included in Vb4dll.exe, which is available for downloading as a self-extracting file through the Microsoft Software Library.

Following is the Table of Contents for this file:

  • Calling Conventions
  • 16/32-bit Issues
  • Passing and Returning Common Built-in Types
  • Passing and Returning Strings
  • Passing and Returning User-Defined Types
  • Passing and Returning Objects
  • Passing and Returning Arrays
  • Manipulating Variants
  • Passing Unicode Strings
  • Creating a Type Library
  • Compiling a 32-bit Unicode DLL
  • Creating a TypeLib For All The Functions In This Document
  • Additional Resources

MORE INFORMATION

The following file is available for download from the Microsoft Software Library:

 ~ Vb4dll.exe (size: 34494 bytes) 

For more information about downloading files from the Microsoft Software Library, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q119591
   TITLE     : How to Obtain Microsoft Support Files from
               Online Services


KBCategory: kbprg kbfile kbhowto
KBSubcategory: APrgOther vb4win vb4all
Additional reference words: 4.00
Keywords : APrgOther VB4ALL VB4WIN kbfile kbhowto kbprg
Version : 4.00 | 4.00
Platform : NT WINDOWS


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: September 17, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.