Microsoft KB Archive/150705

= Using VB4DLL.TXT File to Develop DLLs for Visual Basic =

Article ID: 150705

Article Last Modified on 3/15/2005

-

APPLIES TO


 * Microsoft Visual Basic 4.0 Standard Edition
 * Microsoft Visual Basic 4.0 Professional Edition
 * Microsoft Visual Basic 4.0 Professional Edition
 * Microsoft Visual Basic 4.0 32-Bit Enterprise Edition
 * Microsoft Visual Basic 4.0 16-bit Enterprise Edition

-



This article was previously published under Q150705



SUMMARY
This article describes the file, Vb4dll.txt, that contains information about developing dynamic-link libraries (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 you can download as a self-extracting file from the Microsoft Download Center.

This file includes the following table of contents:


 * 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:

Vb4dll.exe

For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:

119591 How to Obtain Microsoft Support Files from Online Services

Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file.

