I took a project that was first built in RAD studio 10.x and now I'm using RAD studio 11. (I don't know if this information is important).
I'm trying to build this project and received this error in addition to another error but with __endthread instead of __beginthread and in another .obj file.
The files are located in the specified path that I chose so the compiler needs to find them but I'm not sure if the problem is because the compiler doesn't find these files or something else.
Any help will be appreciated
TIA
EDIT
A code sample of calling beginthread:
pos->id in an int and pValPrm is a pointer to location that I've malooced in advance.
The code was compiled before in older compiler so I guess it's true..
if ((POS->id = _beginthread(CHVal, 0x2000, pValPrm))==-1)
What I have tried:
I looked for this error and tried to change the project to dynamic RTL(like in this
xml - C++ builder parser issue: [ILINK32 Error] unreselved external - Stack Overflow[
^]) but it didn't solve this issue.
I've also read this question:
Unresolved External Symbol[
^] but I don't have the source of _beginthread and _endthread like described in this issue.