__beginthreadex
Hi all !
Any one know about thread in windows. I am using MSVC++ v6 and developing software, which have to use threading. I get the error linking:
hthread.obj : error LKN2001 : unresolved external symbol __beginthreadex
My question is which file name I have to include in my implementation file (hthread) for using the beginthreadex ?
[356 byte] By [
nivrobin] at [2007-11-11 10:07:16]

# 1 Re: __beginthreadex
Well, you have to set up for multi threading by turning it on in the project settings. Somewhere there is a drop down for single thread debug, multi thread debug, etc.
If you did that, you might need afx.h but I think that is for the afx threads (really simple/friendly thread libs, you are not using these).
jonnin at 2007-11-11 20:59:30 >

# 2 Re: __beginthreadex
Hi,
jonnin is right, you need to include the Multithreading DLLs.
Program->Settings->C/C++ - Tab -> Use Run-time library
Select select the appropriate Multithreaded DLL.
Cheers,
D