Using VB4DLL.TXT File to Develop DLLs for Visual Basic

ID: Q150705


The information in this article applies to:
  • Microsoft Visual Basic Standard, Professional, and Enterprise Editions, 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 Download Center. Click the file name below to download the file:

Vb4dll.exe
For more information about how to download files from the Microsoft Download Center, please visit the Download Center at the following Web address
http://www.microsoft.com/downloads/search.asp
and then click How to use the Microsoft Download Center.


REFERENCES

As a companion to this document, please click the article number below to view the article in the Microsoft Knowledge Base:

Q196976 INFO: Updated VB4dll.txt for Visual Basic 4.0

Additional query words:

Keywords : kbfile kbVBp400
Version : WINDOWS:4.0
Platform : WINDOWS
Issue type :


Last Reviewed: December 10, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.