View Issue Details

IDProjectCategoryView StatusLast Update
0035204FPCRTLpublic2019-03-08 14:48
Reporter440bx Assigned ToSven Barth  
Status resolvedResolutionfixed 
Product Version3.0.4 
Fixed in Version3.3.1 
Summary0035204: The last parameter of BeginThread (ThreadId) is defined as a qword var. This causes problems because ThreadId(s) are 32bit.
DescriptionThe compiler will not compiler a call to BeginThread where a ThreadId defined as a DWORD (which is what a thread id is even in 64bit Windows.)

An overload to BeginThread should probably be added where the last parameter is a DWORD var.
Steps To Reproducecode a BeginThread call using a DWORD as thread id. The program will not compile.
TagsNo tags attached.
Fixed in Revision41636
Attached Files


Sven Barth

2019-03-08 14:48

manager   ~0114712

The correct solution is to fix the declaration of TThreadID as that is a target specific type.

Please test and close if okay.

Issue History

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