Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

edwinnie

using C functions in a Managed C++.net DLL

This topic is 5367 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

okok i was fiddling around with C functions in a managed c++.net class library (.net dll), and found that there are link errors if i use those C functions: error LNK2001: unresolved external symbol "int __cdecl sprintf(char *,char const *,...)" I found that using them in .net class libraries will give such errors, while winform applications do not. anyone got great ideas on resolving such issues?? thx! Edwinz

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
I think you need to add an explicit link to the CRT runtime
this is not done by default for all managed C++ projects.

Share this post


Link to post
Share on other sites

  • 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!