Click to See Complete Forum and Search --> : _beginthread & _endthread


overtime_e
October 28th, 2004, 09:00 AM
Hello!

i have to use multiple threads for an assignment. But the compiler is returning me the error for undeclared identifier for _beginthread. i looked up MSDN library and this instruction is given:

* If you are using the Visual C++ development environment, select the
* Multi-Threaded runtime library in the compiler Project Settings
* dialog box.

how do you select that? i cant find it in the Project Settings..

thanks!

bashish
October 28th, 2004, 09:25 AM
Open project settings, click on C/C++ tab, select Catagory 'Code Generation'.

Find Use runtime Library, select Multi-Thread.

bashish

Andreas Masur
October 28th, 2004, 10:48 AM
[ Moved thread ]