Thread View: de.comp.lang.c++
1 messages
1 total messages
Started by Ladislav Lettovsky
Thu, 12 Oct 1995 00:21
Strange link error
Author: Ladislav Lettovsky
Date: Thu, 12 Oct 1995 00:21
Date: Thu, 12 Oct 1995 00:21
49 lines
2278 bytes
2278 bytes
Please could you help a novice:
The following program compiles fine, but when linked I get:
LINK : performing full link
nafxcwd.lib(thrdcore.obj) : error LNK2001: unresolved external symbol "__beginthreadex"
nafxcwd.lib(thrdcore.obj) : error LNK2001: unresolved external symbol "__endthreadex"
WinDebug/NW.exe : error LNK1120: 2 unresolved externals
Error executing link.exe.
Creating browse info file...
NW.exe - 3 error(s), 0 warning(s)
----------------------------------NW.cpp-------------------------------
#include "ALL.H"
CNumber CDuty::sID = 0;
CNumber CMember::sID = 0;
CNumber CPairing::sID = 0;
CNumber CPlane::sID = 0;
CNumber CSequence::sID = 0;
int main()
{
// Initialize & Load data
CSchedule* const tpSchedule = NULL;
CTime const tTime = MAX_TIME;
BOOL const tKeepDuty = TRUE;
BOOL const tKeepDeadheading = TRUE;
CScenario tScenario( tpSchedule, tTime, tKeepDuty, tKeepDeadheading );
tScenario.Run();
return( 0 );
}
------------------------------------------------------------------------
Thank you for any advice.
Ladislav
************************************************************************
Ladislav Lettovsky * *
36345 Ga Tech Station * The only way to have a friend is to be one *
Atlanta, GA 30332, USA * *
************************************************************************
tel(h): (404) 733-5790 * The Logistics Institute, ISyE, Georgia Tech *
tel(w): (404) 894-2366 * http://akula.isye.gatech.edu/~ladislav *
fax(w): (404) 894-0390 * e-mail: ladislav@isye.gatech.edu *
************************************************************************
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads