threads

Discussion in 'C' started by aska, Jun 1, 2009.

  1. aska

    aska New Member

    Joined:
    Jul 31, 2008
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    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?
     
  2. xpi0t0s

    xpi0t0s Mentor

    Joined:
    Aug 6, 2004
    Messages:
    3,009
    Likes Received:
    203
    Trophy Points:
    63
    Occupation:
    Senior Support Engineer
    Location:
    England
    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.
     
    Last edited: Jun 1, 2009

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice