Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / August 2007

Tip: Looking for answers? Try searching our database.

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

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
P2P - 09 Aug 2007 10:48 GMT
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?
Carl Daniel [VC++ MVP] - 09 Aug 2007 15:09 GMT
> Hi All,
>
[quoted text clipped - 11 lines]
>
> 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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.