I have been trying to work out how to add 15 mins to a CTime object. It doesn't appear to be straightforward although there is an operator+ function.
Also, if I try to do the following code that comes from an example in the MSDN literature I get a very strange error...
CTime thetime = CTime::GetCurrentTime();
Gives me (just run from main)....
Compiling...
test.cpp
Linking...
nafxcwd.lib(thrdcore.obj) : error LNK2001: unresolved external symbol __endthreadex
nafxcwd.lib(thrdcore.obj) : error LNK2001: unresolved external symbol __beginthreadex
Debug/test.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.
test.exe - 3 error(s), 0 warning(s)
Also, if I try to do the following code that comes from an example in the MSDN literature I get a very strange error...
CTime thetime = CTime::GetCurrentTime();
Gives me (just run from main)....
Compiling...
test.cpp
Linking...
nafxcwd.lib(thrdcore.obj) : error LNK2001: unresolved external symbol __endthreadex
nafxcwd.lib(thrdcore.obj) : error LNK2001: unresolved external symbol __beginthreadex
Debug/test.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.
test.exe - 3 error(s), 0 warning(s)