problem with _beginthread

This is a discussion on problem with _beginthread within the Windows Programming forums, part of the Platform Specific Boards category; Im using beginthread in this function, and it compiles, but when i try to execute i get this error
STP.obj ...