the constant TLS_OUT_OF_INDEXES should be included in the Windows unit.
Original Reporter info from Mantis: 440bx @440bx
-
Reporter name:
Original Reporter info from Mantis: 440bx @440bx
- Reporter name:
Description:
TLS_OUT_OF_INDEXES may be returned by the TlsAlloc API. The TlsAlloc API is part of the Windows unit but TLS_OUT_OF_INDEXES is not.
Currently TLS_OUT_OF_INDEXES is found in JwaWinbase.pas but, it doesn't really make much sense to have to include another unit just to get a result constant of an API found in the Windows unit.
Steps to reproduce:
create a program that "uses Windows;" call TlsAlloc and compare the returned index to TLS_OUT_OF_INDEXES. The program won't compile unless JwaWinbase is also in the uses clause.
Mantis conversion info:
- Mantis ID: 35203
- OS: Windows
- OS Build: all
- Platform: 32 and 64bit
- Version: 3.0.4
- Fixed in version: 3.3.1
- Fixed in revision: 41635 (#9ddf90b0)