How to Use CALL INTERRUPT to Detect If SHARE.EXE Is Loaded (67379)
The information in this article applies to:
- Microsoft Visual Basic for MS-DOS
- 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 for MS-DOS 7.0
- Microsoft Basic Professional Development System for MS-DOS 7.1
This article was previously published under Q67379 SUMMARY
SHARE.EXE provides file sharing and locking to MS-DOS versions 3.0
and later. To determine whether SHARE.EXE is currently loaded, you can
make a call to the MS-DOS interrupt, &H2F (2F hex). You should load
the AX register with &H1000 before using the CALL INTERRUPT statement.
After the call, the AX register will return with the value &H00FF
(ff hex) if SHARE.EXE is loaded.
Modification Type: | Minor | Last Reviewed: | 8/16/2005 |
---|
Keywords: | KB67379 |
---|
|