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 6154325
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T20:14:40+00:00 2026-05-23T20:14:40+00:00

I need to build a visual c++ solution (.dsp VC++ 7.1) which was written

  • 0

I need to build a visual c++ solution (.dsp VC++ 7.1) which was written by someone else back in 2005. I’m attempting to compile the solution in VS2010 trial but it is giving me some errors as outlined below:

error C3867: 'CServerSocket::SelfDestruct': function call missing argument list; use '&CServerSocket::SelfDestruct' to create a pointer to member
error C2039: 'iterator_category' : is not a member of 'CommandDispatchInserter' c:\program files\microsoft visual studio 10.0\vc\include\xutility
error C2146: syntax error : missing ';' before identifier 'iterator_category'   c:\program files\microsoft visual studio 10.0\vc\include\xutility
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int   c:\program files\microsoft visual studio 10.0\vc\include\xutility
error C2602: 'std::iterator_traits<_Iter>::iterator_category' is not a member of a base class of 'std::iterator_traits<_Iter>'  c:\program files\microsoft visual studio 10.0\vc\include\xutility

It seems from my investigations that from VS2005 onwards there are different implementations of various libraries which are causing the errors, I think the code is fairly non compliant with standards which is also a factor. Instead of amending the code to fit in with VS’s requirement (which I’m fairly clueless about doing) I was wondering if there was a way of compiling this i nit’s current state, short of installing an instance of VS2003. I have tried using minGW for windows but had no luck. It didn’t seem to like the MFC libraries. Does anyone have any suggestions as to the most productive route to take?

Thanks in advance

  • 1 1 Answer
  • 0 Views
  • 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-23T20:14:41+00:00Added an answer on May 23, 2026 at 8:14 pm

    For the first issue, use the & to explicitly take a pointer to member. There is no other way to get this to compile with VS9 or 10. This is a mechanical thing that is easy to add, very little C++ knowledge needed.

    The second issue is, I think, that you’re missing a ‘typename’ qualifier somewhere. This is harder, if you don’t know C++ there is only little you can do. Fix the & issue first and post compiler logs and code for better answers.

    As to your actual question, no there is no way to get this to compile with newer versions of VS; there are some ‘backwards compatibility’ compiler settings but these issues aren’t covered by it. Nor can you compile MFC code with any compiler other than the Visual Studio one, so the MingW route is useless to spend more time on.

    So, your options are:

    • Go back to Visual Studio 2003. Easy.
    • Fix the code. C++ knowledge and/or many trips to this site required. Not so easy.

    BTW, .dsp is not Visual Studio 7.1, it’s Visual Studio 6. If so, you’re screwed even more, because the changes since then are a lot bigger than since 7.1 (2003).

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

Sidebar

Related Questions

Do I really need Visual studio to build c/C++ application on Windows. Is there
I need to build a function which parses the domain from a URL. So,
I have a Visual Studio project that uses a solution file to build it.
I often find myself in need of writing down a future Visual Studio solution
We have a Team City Build Server running and want to compile a Visual
I'm looking for a build automation solution for use with a Visual Studio solution
My Visual Studio solution has several late-bound projects (dll) which are loaded by other
The official Python 2.5 on Windows was build with Visual Studio.Net 2003, which uses
I'm trying to build gtest on Visual Studio 2010. After converting the solution file,
I have a Visual Studio 2005 solution (.sln) with a mix of .NET and

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.