Example of How to Call Basic SetUEvent from C; ON UEVENT GOSUB (69159)
The information in this article applies to:
- Microsoft Visual Basic for MS-DOS
- 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 for MS-DOS 7.0
- Microsoft Basic Professional Development System for MS-DOS 7.1
This article was previously published under Q69159 SUMMARY
Page 310 of the "Microsoft Basic 7.0: Programmer's Guide" states
the following:
Trapping a user-defined event involves writing a non-Basic
routine, such as in Microsoft Macro Assembler (MASM) or C, ....
On the same page, this statement is followed by an example of how to
set up the ON UEVENT GOSUB routine in assembly language.
This article shows how the same example can be written in the
Microsoft C language by using the SetUEvent function.
Modification Type: | Minor | Last Reviewed: | 8/16/2005 |
---|
Keywords: | KB69159 |
---|
|