Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   threads (http://www.go4expert.com/forums/threads-t17818/)

aska 1Jun2009 23:32

hi, whene i have an error or warning like this '_beginthreadex' undefined; assuming extern returning int,
so what`s this means and how can i resolve it?

xpi0t0s 2Jun2009 02:48

Re: threads
It means that when the compiler tried to compile your program, it found that your code depends on a function called "beginthreadex" for which it had no definition, and that it assumed that it does exist and is defined as "extern int beginthreadex();"

Assuming you got no linker errors, this assumption worked, and if nothing else misbehaves then technically you could just leave it at that, although to fix the warning you would need to find what header file defines that symbol and #include it.

All times are GMT +5.5. The time now is 09:21.