Category : C Source Code
Archive   : TN.ZIP
Filename : TN04012.TXT
ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
Innovative Data Concepts, Inc. Technical Information Note
TesSeRact Development Tools
ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
Bug Fix -- Bad scrolling; Memory pointers get confused when scrolling
TN-9204-012 April 25, 1992
ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
Reference: Bug #0422-02, #0421-03
When using the pre-compiled libraries for MSC 6.0, windows do not scroll
correctly.
When scrolling a virtual window, the pointers referenced during scrolling
may become invalid.
Code Fix: WCT\WSCRBOX.C
On Line 8:
Change the revision number from 600.0 to 600.1
On Line 24, before the WscrBoxV() function:
Add:
#if (_TCXL_cc_ == 3) /* loop optimizations will not */
# if (_MSC_VER == 600) /* work correctly with MSC6 */
# pragma optimize("", off) /* in this module */
# endif
#endif
On Line 141, after the WscrBoxV() function:
Add:
#if (_TCXL_cc_ == 3) /* loop optimizations will not */
# if (_MSC_VER == 600) /* work correctly with MSC6 */
# pragma optimize("", on) /* in this module */
# endif
#endif
On Line 100, immediately following the call to AllocV():
Add:
TvmLock(s);
On Line 115, immediately before the call to FreeV():
Add:
TvmUnlock(s);
Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!
This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.
But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/