_beginthread is a Visual C++ CRT function. I don’t recommend using it or process.h for this purpose. Please use std::thread (or if your compiler is older, boost::thread).
If you were using _beginthread, you’d give it tdrow, not tdrow().
1
solved how to make thread in c++