ilink32 Error Error: Unresolved external ‘__beginthread’ referenced from C:SOURCE…TEMPXXX.OBJ

  beginthread, c++, c++builder, rad

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 I received this error in addition to another error but with __endthread instead of __beginthread and in another .obf file.

The files are located in the specified path 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.

I looked for this error and tried to change the project to dynamic RTL but it didn’t solve this issue.

Any help will be appreciated

Source: Windows Questions C++