Article ID: 150705 - Last Review: March 15, 2005 - Revision: 4.2

Using VB4DLL.TXT File to Develop DLLs for Visual Basic

This article was previously published under Q150705
Expand all | Collapse all

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 (http://download.microsoft.com/download/vb40ent/utility/1/w9xnt4/en-us/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  (http://support.microsoft.com/kb/119591/EN-US/ ) 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.

REFERENCES

As a companion to this document, click the article number below to view the article in the Microsoft Knowledge Base:
196976  (http://support.microsoft.com/kb/196976/EN-US/ ) INFO: Updated VB4dll.txt for Visual Basic 4.0

APPLIES TO
  • Microsoft Visual Basic 4.0 Standard 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
Keywords: 
kbdownload kbfile KB150705
 

Article Translations