View Issue Details

IDProjectCategoryView StatusLast Update
0035203FPCRTLpublic2019-03-08 14:47
Reporter440bx Assigned ToSven Barth  
Status resolvedResolutionfixed 
Platform32 and 64bitOSWindows 
Product Version3.0.4 
Fixed in Version3.3.1 
Summary0035203: the constant TLS_OUT_OF_INDEXES should be included in the Windows unit.
DescriptionTLS_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 Reproducecreate 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.
TagsNo tags attached.
Fixed in Revision41635
Attached Files


Sven Barth

2019-03-08 14:47

manager   ~0114711

Please test and close if okay.

Issue History

Date Modified Username Field Change
2019-03-08 00:19 440bx New Issue
2019-03-08 14:47 Sven Barth Fixed in Revision => 41635
2019-03-08 14:47 Sven Barth Note Added: 0114711
2019-03-08 14:47 Sven Barth Status new => resolved
2019-03-08 14:47 Sven Barth Fixed in Version => 3.3.1
2019-03-08 14:47 Sven Barth Resolution open => fixed
2019-03-08 14:47 Sven Barth Assigned To => Sven Barth