- Dec
- 51
- 2
Version where observed:
TCC 15.00.29 Windows XP [Version 5.1.2600]
TCC Build 29 Windows XP Build 2600 Service Pack 3
Description:
If you use OSD with the /N option and rely on the /C[=n] option to clear the on-screen display before it expires in order to post an updated display, it runs out of some resource (a handle, mutex, or something). On my system, this consistently happens after 90 updates.
How to reproduce:
Run the script shown below (also available as an attached file).
If you don't want to wait on it, comment out the delay.
TCC 15.00.29 Windows XP [Version 5.1.2600]
TCC Build 29 Windows XP Build 2600 Service Pack 3
Description:
If you use OSD with the /N option and rely on the /C[=n] option to clear the on-screen display before it expires in order to post an updated display, it runs out of some resource (a handle, mutex, or something). On my system, this consistently happens after 90 updates.
How to reproduce:
Run the script shown below (also available as an attached file).
If you don't want to wait on it, comment out the delay.
Code:
@echo off
*setlocal
*unalias *
break on
on errormsg goto cleanup
on break goto cleanup
unset /q ans
OSD /ID=1 /bottom /left /TIME=2 /N `test 1`
DO i = 2 to 1000
delay 1
echo %@FORMATN[5.0,%i]
OSD /C=1
OSD /ID=1 /bottom /left /TIME=2 /N `test `%@FORMATN[5.0,%i]
inkey /w0 %%ans
if "%ans" != "" LEAVE
ENDDO
:cleanup
on error rem ignore
on break rem ignore
OSD /C=1
quit