   Link Error: unresolved external symbol __endthreadex
  This is what my debugger outputs when I try to compile an mfc-application:------------------------Linking...nafxcwd.lib(thrdcore.obj) : error LNK2001: unresolved external symbol __endthreadexnafxcwd.lib(thrdcore.obj) : error LNK2001: unresolved external symbol __beginthreadexElysium.exe : fatal error LNK1120: 2 unresolved externalsError executing link.exe.------------------------Can anybody tell me what might cause this? I have no idea what to do about it... If you need any other info feel free to ask... Thanks in advance  
  are you using AfxBeginThread? use it instead if not.  ;  I''m not using it anywhere, but where should I use it then? Instead of what?  ;  you''re using multiple threads, but building with a single-threaded crt. use multithreaded crt instead (project settings->code generation).  ;  if you are going to use mfc classes in the new thread, use AfxBeginThread instead of _beginthreadex and AfxEndThread instead of _endthreadex.  ;  Uhhhhhhh.... first off all thanks for all the help! Incredible I just love this forum it keeps amazing me But... I have no clue what a thread is, and where it starts/endsThe Project Settings -> Code Generation menu does not exist here tho... I can go to Project -> Settings, but there''s nothing like that in there (VC++ 6)Can you people plz give me a little more help on how to make this work? Thanks a lot people!  ;  Look at all the settings in all perference sections.  You will see a collection of settings for core program and DLL multithreading.You are not required to use AfxBeginThread in MFC.  You may use the C++ run-time _beginthreadex.  Just understand that you should always use one of the two at any given moment.  Lastly, do not end a thread via termination.  That should be the last resort such as when a program destructor.Kuphryn  