vico
vico

Reputation: 18191

Class library dll dependancy on compiler

I have created class library dll that will be used in application compiled on different PC. Dll is created using Visual Studio 2010 C++. I suppose that application that will be using dll should also be compiled with VS 2010 C++ and not for example VS2012 C++. Please correct me if I'm wrong.

What will happens if executable and DLL PC will have different version of Visual Studio 2010 - for example Professional/Ultimate?

What will happens if these Visual Studio will have different update packages installed?

Upvotes: 0

Views: 30

Answers (1)

rrirower
rrirower

Reputation: 4590

Visual Studio 2012 allows you to specify a different "Platform Toolset" in the properties page for a project. So, you can use 2012 to create an application that targets a 2010 Dll. the application should target the same toolset as the Dll. The different versions (eg. Professional/Ultimate) should not be a factor because it is the redistributable files (dlls) that matter.

Upvotes: 1

Related Questions