Jimmy,
_beginthreadex() will only be defined for a "Multithreaded" build. This is done by going into your project settings, and on the C++ tab select the Code Generation category, and on the "Use Run Time Library" drop down, select "Multithreaded". This will...