Visual Studio

Hello,

I would like to know in Visual Studio 2017, what kind of projects with a user interface would be in a native C++ framework so that I can link it to a C++ library (.lib file). Before I was using a CLR project with a UI and tried to link it to a C++ library but could not link it because that application was in a .NET framework.

Thanks
Last edited on
You can create a static library:

https://docs.microsoft.com/en-us/cpp/build/walkthrough-creating-and-using-a-static-library-cpp?view=vs-2017

Code linked from a static library becomes part of your app—you don’t have to install another file to use the code.

Or create a dynamic link library:

https://docs.microsoft.com/en-us/cpp/build/walkthrough-creating-and-using-a-dynamic-link-library-cpp?view=vs-2017

This creates a separate DLL file other apps can use.
Registered users can post here. Sign in or register to post.