Basic PDS Manual Correction Passing Far Strings to C (70666)
The information in this article applies to:
- 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 Q70666 SUMMARY
Page 502 of the "Microsoft Basic 7.0: Programmer's Guide" (for
versions 7.00 and 7.10) shows an incorrect example of passing multiple
far strings to a C program. To correct the problem, add the SEG
attribute to OutString1$ and OutString2$ in the DECLARE SUB AddString
statement. Also, remove the phrase "near *" from the C code at the
bottom of page 502.
This information applies to Microsoft Basic Professional Development
System (PDS) versions 7.00 and 7.10 for MS-DOS and MS OS/2.
REFERENCES
For more information about calling C from Basic, search for separate
articles by using the following query:
| Modification Type: | Major | Last Reviewed: | 10/20/2003 |
|---|
| Keywords: | KB70666 |
|---|
|