The information in this article applies to:
SYMPTOMSWhen the CodeView video mode is set to be the same as the current MS-DOS video mode, calls to _setvideomode(_DEFAULTMODE) can cause screen corruption. RESOLUTIONTo work around the problem, start CodeView in a different mode than the one MS-DOS is using. STATUSMicrosoft has confirmed this to be a bug with CodeView for MS-DOS. We are researching this problem and will post new information in the Microsoft Knowledge Base as it becomes available. MORE INFORMATIONThe sample code below demonstrates the problem. Build a debug version and follow these steps:
NOTE: Reissuing the mode command with different mode values at the MS-DOS prompt restores the screen. In step 2 above, using CV /43 video or CV /25 video prevents this problem from occurring. Sample Code
Additional query words: 4.00 4.10
Keywords : kb16bitonly |
Last Reviewed: October 27, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |