Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 869705
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T10:21:08+00:00 2026-05-15T10:21:08+00:00

I have a VC++ project in VS2010 that is linking to some dll’s built

  • 0

I have a VC++ project in VS2010 that is linking to some dll’s built with VS2008. Works fine until I try to pass MFC objects to the VS2008 dll. The artifact of the VS2010 VC++ project (a .dll) is linking against the latest version of MFC that shipped with VS2010, whereas the VS2008 .dll is linking against the previous version of MFC that shipped with VS2008.

VS2010 VC++ projects have a “Platform Toolset” property that allows either v90 (VS2008) or v100 (VS2010) and that seems like it ought to do the trick. However, the VS2010 VC++ project is being built with /clr (Common Language Runtime Support), which seems to require targeting v4.0 of the .NET Framework – which is not supported in the v90 (VS2008) toolset.

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T10:21:08+00:00Added an answer on May 15, 2026 at 10:21 am

    Setting the Platform Toolset option to v90 works if and only if the Targeted framework is 3.5 (or less, I presume).

    To change the Targeted framework you have to edit the .vcxproj file directly. To make the change, follow these directions. Note, that the XML element may not be present but the instructions to add the element to the .vcxproj file are in the comments.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a simple .NET dll built with VS2010 C# that exposes 2 static
I have an MSI installer that was built from a VS2010 setup project. Part
I have a ASP.NET MVC2 project in VS2010 that can be deployed in two
I have a VS2010 project that needs a reference to System.Xaml. I go to
I have a project that works great on my machine (and production servers). It's
I have a project that is referencing the AxMSCommLib in VS2010 C#.. My Windows
I have a project that is referencing the AxMSMAPI in VS2010 C#.. My Windows
I'm getting an error in a VS2010 DB project that indicates I have too
I have a VS2010 project which is a windows application that acquires data from
I've a C++ project that I'm currently porting from VS2008 to VS2010. When I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.