_beginthreadex has three additional parameters: initflag, security, threadaddr. The new thread can be created in a suspended state, with a specified security (Windows NT only), and can be accessed using thrdaddr, which is the thread identifier.看见了没有啊???
Windows NT only!!!!!!!
Windows NT only!!!!!!!
了
不知道事实如何
但是在NT下运行良好,但在98下_beginthreadex(...)返回0?我就不知道为什么了,不知道你是不是把threadaddr设置为NULL了
98:_beginthread 的 threadid 不可以为null