Jump to content
  • Advertisement
Sign in to follow this  
Zira

Need some help with MS Visual Studio 2003.net

This topic is 5133 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Well I recently got it, wrote my program on it...Ironed out the bugs, but it still won't compile. By searching I have found out that I need libraries that didn't come by default to use the functions that did come by default(WTF???) Here is the error, other people have had problems with it too(even one on this very board, but that message exists no longer). nafxcwd.lib(thrdcore.obj) : error LNK2019: unresolved external symbol __endthreadex referenced in function "void __stdcall AfxEndThread(unsigned int,int)" (?AfxEndThread@@YGXIH@Z) nafxcwd.lib(thrdcore.obj) : error LNK2019: unresolved external symbol __beginthreadex referenced in function "public: int __thiscall CWinThread::CreateThread(unsigned long,unsigned int,struct _SECURITY_ATTRIBUTES *)" (?CreateThread@CWinThread@@QAEHKIPAU_SECURITY_ATTRIBUTES@@@Z) jklkljjk/GeneFind.exe : fatal error LNK1120: 2 unresolved externals Which libraries am I missing exactly and where do I put them?

Share this post


Link to post
Share on other sites
Advertisement
Did you include process.h in your program?
Also, by default, the libraries you're looking for could be found in this file path:

C:\Program Files\Microsoft Visual Studio\VC98\Lib
If you installed Studio.net somewhere else then you can still find it by just doing a search for a folder called "VC98". You'll notice that this is found in a folder called "Microsoft Visual Studio" and not "Microsoft Visual Studio.net", which has a lib file with next to nothing in it.
Having said all that, I can't be entirely certain that VC98 lib folder will be on your computer unless you've installed Microsoft Visual Studio 6 before. That sounds confusing and stupid, but maybe I've given you something to fumble around with.

Oh, and the libraries you're missing are:

LIBCMT.LIB, MSVCRT.LIB, LIBCMTD.LIB, and MSVCRTD.LIB

To put these in your project, just right-click on the project name in your Solution Explorer(look around till you find those words) and click "Add Existing File". It pops up a thing that lets you search for the file or files you want to add and voila' you're done.

Share this post


Link to post
Share on other sites
If the library is included with .NET then you should be able to look-up those unresolved symbols in the help, to find out what library they belong to.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!