Using VB4DLL.TXT File to Develop DLLs for Visual Basic (150705)



The information in this article applies to:

  • Microsoft Visual Basic Standard Edition, 32-bit, for Windows 4.0
  • Microsoft Visual Basic Professional Edition, 16-bit, for Windows 4.0
  • Microsoft Visual Basic Professional Edition, 32-bit, for Windows 4.0
  • Microsoft Visual Basic Enterprise Edition, 32-bit, for Windows 4.0
  • Microsoft Visual Basic Enterprise Edition, 16-bit, for Windows 4.0

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

REFERENCES

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

196976 INFO: Updated VB4dll.txt for Visual Basic 4.0


Modification Type:MinorLast Reviewed:3/15/2005
Keywords:kbdownload kbfile KB150705 kbAudDeveloper