Basic Uses ALIAS to DECLARE C Routines with Underscore in Name (42475)
The information in this article applies to:
- Microsoft QuickBASIC 4.0
- Microsoft QuickBASIC 4.0b
- Microsoft QuickBASIC 4.5
- Microsoft Basic Professional Development System for MS-DOS 7.0
This article was previously published under Q42475 SUMMARY
To call a Microsoft C routine from QuickBasic, the C routine must
first be declared using a DECLARE statement. If the C routine name
contains an embedded underscore, which is improper syntax in
QuickBasic, you must use the ALIAS clause to give it a valid Basic
name.
This information applies to Microsoft QuickBasic versions 4.00, 4.00b,
and 4.50, Microsoft Basic Compiler versions 6.00 and 6.00b, and
Microsoft Basic Professional Development System (PDS) version 7.00.
The references to DECLARE, ALIAS, and CDECL can be found on Pages 142
to 146 of the "Microsoft QuickBasic 4.0: Basic Language Reference"
manual.
Modification Type: | Minor | Last Reviewed: | 8/16/2005 |
---|
Keywords: | KB42475 |
---|
|