Assembly Function Returning Variable-Length String to Basic (64428)
The information in this article applies to:
- Microsoft QuickBASIC 4.0
- Microsoft QuickBASIC 4.0b
- Microsoft QuickBASIC 4.5
- Microsoft BASIC Compiler for MS-DOS and OS/2 6.0
- Microsoft BASIC Compiler for MS-DOS and OS/2 6.0b
- Microsoft Basic Professional Development System (PDS) for MS-DOS and MS OS/2 7.0
- Microsoft Basic Professional Development System (PDS) for MS-DOS and MS OS/2 7.1
This article was previously published under Q64428 SUMMARY
The two programs below demonstrate how an assembly language function
can return a variable-length string to a Microsoft Basic program.
Note: This routine will not work inside the QuickBasic Extended
environment (QBX.EXE) or when compiled using the Far Strings option
(BC /Fs) in Microsoft Basic Professional Development System (PDS)
version 7.00 or 7.10. For information on interlanguage programming
with far strings in Microsoft Basic PDS, see Chapter 13, "Mixed
Language Programming with Far Strings," in the "Microsoft Basic 7.0:
Programmer's Guide" for versions 7.00 and 7.10.
This information about interlanguage calling applies to QuickBasic
versions 4.00, 4.00b, and 4.50 for MS-DOS, to Microsoft Basic Compiler
versions 6.00 and 6.00b for MS-DOS and MS OS/2, and to Microsoft Basic
PDS versions 7.00 and 7.10 for MS-DOS and MS OS/2.
Modification Type: | Minor | Last Reviewed: | 1/9/2003 |
---|
Keywords: | KB64428 |
---|
|