Microsoft KB Archive/73737

= DOSSWAP.EXE Problem Occurs When Swap Not Allowed =

Article ID: 73737

Article Last Modified on 11/23/1999

-

APPLIES TO


 * Microsoft MS-DOS 5.0 Standard Edition

-



This article was previously published under Q73737



SUMMARY
There is a problem in MS-DOS version 5.0 Task Swapper that can cause mysterious failures after a task switch request is not allowed.

A task switch request is prevented whenever you attempt to switch tasks by pressing ALT+TAB or ALT+ESC when task switching could cause a problem for the application. When the request is prevented, the machine beeps, and the task switch does not occur.

If you find that erratic behavior occurs after you are not allowed to perform a task switch, you should obtain the above application note.



MORE INFORMATION
A task switch request is disallowed under the following circumstances:


 * If you are running an application that is MS-DOS Shell Task Switcher aware and you press ALT+TAB to switch, Task Swapper may disallow the call because the application has notified MS-DOS Shell not to swap it. For example, Novell NetWare never allows task switches while it is servicing any MS-DOS function (INT 21) call over the network.
 * If you run any application that uses netBIOS asynchronous API (for example, VTP or an SQL application in a session), Task Swapper automatically disallows any switch request to avoid possible problems.

In either of the above cases, the value in the CX register will be destroyed. The affect of the CX register being destroyed will vary, depending on what the application was storing there.

Additional query words: appnote 5.00 dosshell dosswap kbfest

Keywords: KB73737

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.