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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T02:08:52+00:00 2026-06-15T02:08:52+00:00

I downloaded a project that has these 2 lines in it: #include <winsock2.h> #include

  • 0

I downloaded a project that has these 2 lines in it:

#include <winsock2.h>
#include <Afxwin.h>

I’m confused about on how to compile this, because my standard compiler can’t find the selected files.

What do I need to to configure my compiler’s search path in order to successfully compile this?

The compiler I tried it with is Dev-C++.

Edit: I’m guessing I have to configure certain libraries to be used when compiling (but which?)

  • 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-15T02:08:53+00:00Added an answer on June 15, 2026 at 2:08 am

    Are you building on Windows?

    These are Microsoft includes files. If you have Visual Studio, winsock should be available. But for afx (MFC), you need a commercial edition I believe.

    If you have a commercial Visual Studio and it still can’t find them, it’s just a matter of configuring the compiler to include the proper directories (but it should have come that way out of the box).

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

Sidebar

Related Questions

Just downloaded the Visual Studio 2010 Premium and realized that can't compile the project,
Edit: a minimal project that exhibits the crash can be downloaded from crashTest .
I have a project that depends upon some other binaries to be downloaded from
I'm working with a very small sample project that can be downloaded from here
When I downloaded the Git project OsmAnd and went to compile it, Eclipse returned
I have a seperate Test Project in Eclipse that has been running successfully for
I recently stumbled across a project that has 27 different CSS files used by
I'm new in Maven,Java and Eclipse. I just download a project that uses Maven.
I'm working on a project that downloads a zip file and unzips locally. The
I've just completed an automation script that: downloads a project build to local storage

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.