Click here to Skip to main content
16,005,038 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionInclude WS2_32 WSADATA problem! Pin
ATC30-Nov-06 10:30
ATC30-Nov-06 10:30 
AnswerRe: Include WS2_32 WSADATA problem! Pin
Mark Salsbery30-Nov-06 11:28
Mark Salsbery30-Nov-06 11:28 
GeneralRe: Include WS2_32 WSADATA problem! Pin
ATC30-Nov-06 14:27
ATC30-Nov-06 14:27 
GeneralRe: Include WS2_32 WSADATA problem! Pin
Mark Salsbery30-Nov-06 14:41
Mark Salsbery30-Nov-06 14:41 
GeneralRe: Include WS2_32 WSADATA problem! Pin
ATC30-Nov-06 15:11
ATC30-Nov-06 15:11 
GeneralRe: Include WS2_32 WSADATA problem! Pin
Mark Salsbery30-Nov-06 15:24
Mark Salsbery30-Nov-06 15:24 
GeneralRe: Include WS2_32 WSADATA problem! Pin
ATC30-Nov-06 16:01
ATC30-Nov-06 16:01 
GeneralRe: Include WS2_32 WSADATA problem! Pin
Mark Salsbery30-Nov-06 16:08
Mark Salsbery30-Nov-06 16:08 
Right. That stdafx.h, which is used as a precompiled header by default, combined with the
default preprocessor defines in the project settings, have all the basics you need.
You could copy those to your project if you need to and add the winsock2.h include to the
stdafx.h file (at the bottom should be fine).
Whatever it takes...the code should at least compile Smile | :)

Mark


GeneralRe: Include WS2_32 WSADATA problem! Pin
ATC30-Nov-06 16:44
ATC30-Nov-06 16:44 
QuestionWindows class not created error? Pin
TheDelChop30-Nov-06 10:21
TheDelChop30-Nov-06 10:21 
AnswerRe: Windows class not created error? Pin
Mark Salsbery30-Nov-06 11:34
Mark Salsbery30-Nov-06 11:34 
GeneralRe: Windows class not created error? Pin
TheDelChop1-Dec-06 2:18
TheDelChop1-Dec-06 2:18 
GeneralRe: Windows class not created error? Pin
Mark Salsbery1-Dec-06 6:09
Mark Salsbery1-Dec-06 6:09 
Questionthe use of CreateNewDocument or ID_FILE_NEW Pin
prithaa30-Nov-06 7:57
prithaa30-Nov-06 7:57 
QuestionA Question about CreateFile [modified] Pin
Findekano30-Nov-06 5:03
Findekano30-Nov-06 5:03 
AnswerRe: A Question about CreateFile Pin
Mark Salsbery30-Nov-06 5:38
Mark Salsbery30-Nov-06 5:38 
GeneralRe: A Question about CreateFile Pin
Jay Zhu30-Nov-06 14:37
Jay Zhu30-Nov-06 14:37 
GeneralRe: A Question about CreateFile Pin
Mark Salsbery30-Nov-06 14:50
Mark Salsbery30-Nov-06 14:50 
GeneralRe: A Question about CreateFile Pin
Jay Zhu30-Nov-06 16:58
Jay Zhu30-Nov-06 16:58 
QuestionLimited string size in CStatusBarCtrl Pin
stupendous@mail.ru30-Nov-06 5:02
stupendous@mail.ru30-Nov-06 5:02 
AnswerRe: Limited string size in CStatusBarCtrl Pin
Mark Salsbery30-Nov-06 6:38
Mark Salsbery30-Nov-06 6:38 
AnswerRe: Limited string size in CStatusBarCtrl Pin
Steve Echols30-Nov-06 11:42
Steve Echols30-Nov-06 11:42 
QuestionHELP! HELP! How can I send SNMP packet & retrieve them Pin
ATC30-Nov-06 4:52
ATC30-Nov-06 4:52 
AnswerRe: HELP! HELP! How can I send SNMP packet & retrieve them Pin
Mark Salsbery30-Nov-06 5:51
Mark Salsbery30-Nov-06 5:51 
GeneralRe: HELP! HELP! How can I send SNMP packet & retrieve them Pin
ATC30-Nov-06 6:10
ATC30-Nov-06 6:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.