473,386 Members | 1,821 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

how to fix: Cannot open include file: 'winsock6.h'

P2P
Hi All,

i did compile my project on VC 6 without winsock6.h problem

but if i port to VC2005 then i get this error when compile: Cannot open
include file: 'winsock6.h':

In Tool->Option->VC++ Directories-Include Files of VC2005 , i added:
$(VCInstallDir)PlatformSDK\include
and
D:\Program Files\Microsoft Visual Studio\VC98\Include

But this error still exist.

How can i fix this error on VC 2005?
Aug 9 '07 #1
1 2816
P2P wrote:
Hi All,

i did compile my project on VC 6 without winsock6.h problem

but if i port to VC2005 then i get this error when compile: Cannot
open include file: 'winsock6.h':

In Tool->Option->VC++ Directories-Include Files of VC2005 , i added:
$(VCInstallDir)PlatformSDK\include
and
D:\Program Files\Microsoft Visual Studio\VC98\Include

But this error still exist.

How can i fix this error on VC 2005?
winsock6.h is not a standard Microsoft platform SDK header file. I wasn't
able to find anything very specific about it, but my guess is that it was
part of an early IPv6 preview implementation. At this point, you should
just be including winsock2.h.

-cd
Aug 9 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Sanyi | last post by:
I am having some trouble rereading a file for input. Here's the problem: I have a text file with some data (football scores) in its lines. First I read them line-by line to figure out how many...
8
by: baustin75 | last post by:
Posted: Mon Oct 03, 2005 1:41 pm Post subject: cannot mail() in ie only when debugging in php designer 2005 -------------------------------------------------------------------------------- ...
10
by: Jean-David Beyer | last post by:
I have some programs running on Red Hat Linux 7.3 working with IBM DB2 V6.1 (with all the FixPacks) on my old machine. I have just installed IBM DB2 V8.1 on this (new) machine running Red Hat...
1
by: code_wrong | last post by:
Hi, I'm reading this: http://www.catch22.net/tuts/selfdel.asp (Self Deleting Executables) and playing around with the batch file method .. trouble is I always get a command box at the end with...
2
by: markC2004 | last post by:
I have an MDI that I need to change to an RTF MDI. I have the include: #include "afxrich.h" Compiler always stops on the line: CRichEditView crev; Errors given: MDIDEMO.cpp(75) : error...
1
by: Julian | last post by:
I am trying to compile a "legacy" code in VC++ .NET (2003) this code works fine in VC6 I get the following error: LNK1104: cannot open file 'msvcirtd.lib' i read this page :...
8
by: julian_m | last post by:
I'm having problems with include. I wrote a small example which shows what's going on... I should say that the problems started after I moved to a shared server. All was working fine in my local...
19
by: lawrence k | last post by:
How can I find out where my script is outputting to the screen for the first time? My error logs are full of stuff like this: PHP Warning: session_start(): Cannot send session cache...
2
by: fhmm | last post by:
I tried to fix my programme but without success . the idea of the programme is to count the occurence of each similar word and their percentage . the code: #include<iostream> using namespace...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.