Vensim DLL problem (unresolved external symbol __endthreadex
Posted: Thu Jun 23, 2005 10:39 pm
Hi Everybody,
I wrote a sample code in C++ to load a model and run it using vensim DLL. I am getting an error which is as follows.
c:\program files\vensim\dll\msvc60\test\tet.cpp(23) : warning C4700: local variable 'val' used without having been initialized
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.
Could anybody please help me figure out what is wrong and how I can fix it?
Thank you.
-Ram.
[Edited on 6-23-2005 by ram]
I wrote a sample code in C++ to load a model and run it using vensim DLL. I am getting an error which is as follows.
c:\program files\vensim\dll\msvc60\test\tet.cpp(23) : warning C4700: local variable 'val' used without having been initialized
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.
Could anybody please help me figure out what is wrong and how I can fix it?
Thank you.
-Ram.
[Edited on 6-23-2005 by ram]