Boost logo

Boost Users :

From: alexander_jasper (alexander.jasper_at_[hidden])
Date: 2002-10-13 04:19:10


--- In Boost-Users_at_y..., "satya_vajja" <satya_vajja_at_y...> wrote:

> d:\boost\boost_1_29_0\libs\thread\src\thread.cpp(107) : error
> C2065: '_beginthreadex' : undeclared identifier
>
> When i define _MT compile flag the compiling error goes off but
i get
> lot of linker errors.

For using _beginthread you have to use the multi-threaded runtime
lib. In VC6 you can choose the runtime lib in Project
Settings->Compiler Settings->Code Generation. Use multi threaded DLL
in all your sub projects. And do not mix multiple versions of the
runtinme lib.

hope this helps

Alex


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net