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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T20:05:17+00:00 2026-06-08T20:05:17+00:00

I am new to Visual C++. I have installed Visual C++ 2008 Express Edition

  • 0

I am new to Visual C++. I have installed Visual C++ 2008 Express Edition (with SP1) in Windows XP. I am trying to compile an open source Visual C++ project.

I have open the .vcproj project in VC++ 2008 Express. When I use Build > Rebuild Solution, it shows the following output:

3 error(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

The following are the 3 errors:

error C3861: 'IN6_IS_ADDR_MULTICAST': identifier not found

error C2065: 'IPPROTO_IPV6' : undeclared identifier

error C2065: 'IPPROTO_IPV6' : undeclared identifier

I have been googling for a very long time. I found that these identifier are available in the following files:

  • ws2tcpip.h

  • ws2def.h

  • winsock2.h

If I am not mistaken, these files are used by Windows developers to do network/socket programming. It should be available somewhere in Windows.

May I know what is the difference between error C2065: undeclared identifier and error C3861: identifier not found?

How can I include ws2tcpip.h and ws2def.h into a Visual C++ 2008 project?

Thanks

  • 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-06-08T20:05:19+00:00Added an answer on June 8, 2026 at 8:05 pm

    Is it as simple as #including these headers in the appropriate files?

    #include <winsock2.h>
    #include <ws2tcpip.h>
    

    Note that winsock2.h must be #included before ws2tcpip.h, otherwise you’ll get compile errors like “ip_mreq::imr_multiaddr uses undefined struc in_addr” and “Byte is not a member of in6_addr::__unnamed”.

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

Sidebar

Related Questions

I am using Visual studio 2008. I have a Visual C project new.vcproj. There
I have created MSI installers for programs compiled with Visual C++ 2008 Express edition
I have installed SQL Server 2008 Developer edition. In visual studio, when I want
I have installed Visual Studio 2008 and patch it with SP1. However, I cannot
I just installed 'Visual C# 2008 Express Edition' and 'Visual Web Developer 2008 Express
I am setting up a new Windows 7 machine. I have installed VS 2008
I have a problem with a newly installed Visual Studio 2008 (new pc) and
I have recently installed the new Azure development tools for Visual Studio 2010 service
I have just created a new project in VS2010 using the Visual c# >
For a new project I have created a local folder tree with empty Visual

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.