Thread: unresolved external symbol

  1. #1
    Registered User
    Join Date
    Jan 2005
    Posts
    2

    unresolved external symbol

    Just made an attempt to create my first internet-program. I'm
    relatively new, so this could be a very obvious issue. When I worked out all the errors that came up initially, I came up with this:

    Compiling...
    server.cpp
    Linking...
    nafxcwd.lib(thrdcore.obj) : error LNK2001: unresolved external symbol __endthreadex
    nafxcwd.lib(thrdcore.obj) : error LNK2001: unresolved external symbol __beginthreadex
    Debug/server.exe : fatal error LNK1120: 2 unresolved externals
    Error executing link.exe.

    server.exe - 3 error(s), 0 warning(s)


    On a side-note, I've only included iostream and afxsock.h.. I couldn't figure out any other files I might include to fix that problem. Or maybe it's because I saved the .cpp, then let VC6 create its own workspace. Who knows. Do you? Help me, please.

  2. #2
    Registered User Kybo_Ren's Avatar
    Join Date
    Sep 2004
    Posts
    136
    http://www.cryer.co.uk/brian/mswinsw...2001uesetx.htm

    Did you use Google before posting?

  3. #3
    Registered User
    Join Date
    Jan 2005
    Posts
    2
    I'm clueless, man, but thanks.

  4. #4
    Registered User Kybo_Ren's Avatar
    Join Date
    Sep 2004
    Posts
    136
    Sure. Just remember to Google things before posting. It saves a lot of time for both of us

    Post back here if it doesn't work, though.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Compiling sample DarkGDK Program
    By Phyxashun in forum Game Programming
    Replies: 6
    Last Post: 01-27-2009, 03:07 AM
  2. C++ std routines
    By siavoshkc in forum C++ Programming
    Replies: 33
    Last Post: 07-28-2006, 12:13 AM
  3. Including lib in a lib
    By bibiteinfo in forum C++ Programming
    Replies: 0
    Last Post: 02-07-2006, 02:28 PM
  4. Stupid compiler errors
    By ChrisEacrett in forum C++ Programming
    Replies: 9
    Last Post: 11-30-2003, 05:44 PM
  5. debug to release modes
    By DavidP in forum Game Programming
    Replies: 5
    Last Post: 03-20-2003, 03:01 PM