Click here to Skip to main content
16,012,061 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralProb with Visual Studio Pin
Anonymous23-Jun-04 8:39
Anonymous23-Jun-04 8:39 
GeneralRe: Prob with Visual Studio Pin
PJ Arends23-Jun-04 10:30
professionalPJ Arends23-Jun-04 10:30 
QuestionVCToolkit and DevStudio 6? Pin
yurig23-Jun-04 8:27
yurig23-Jun-04 8:27 
AnswerRe: VCToolkit and DevStudio 6? Pin
Ryan Binns23-Jun-04 18:15
Ryan Binns23-Jun-04 18:15 
GeneralRe: VCToolkit and DevStudio 6? Pin
Yuri Gershanov24-Jun-04 14:22
Yuri Gershanov24-Jun-04 14:22 
GeneralCustom background for application Pin
suiram4023-Jun-04 7:33
suiram4023-Jun-04 7:33 
GeneralRe: Custom background for application Pin
PJ Arends23-Jun-04 10:28
professionalPJ Arends23-Jun-04 10:28 
GeneralProblem during compilation of EchoServer Pin
Member 119565823-Jun-04 6:54
Member 119565823-Jun-04 6:54 
Hello,

I downloaded JBSocketServer1.zip and tried to compile it, however I got the following errors coming from mswsock.h and winsock2.h
Would you know why?
Thanks in advance.

Eugene
C:\MSDev\VC98\INCLUDE\mswsock.h(69) : error C2065: 'SOCKET' : undeclared identifier
C:\MSDev\VC98\INCLUDE\mswsock.h(69) : error C2146: syntax error : missing ')' before identifier 's'
C:\MSDev\VC98\INCLUDE\mswsock.h(69) : warning C4229: anachronism used : modifiers on data are ignored
C:\MSDev\VC98\INCLUDE\mswsock.h(73) : error C2059: syntax error : ')'
C:\MSDev\VC98\INCLUDE\mswsock.h(89) : error C2146: syntax error : missing ')' before identifier 'hSocket'
C:\MSDev\VC98\INCLUDE\mswsock.h(89) : warning C4229: anachronism used : modifiers on data are ignored
C:\MSDev\VC98\INCLUDE\mswsock.h(96) : error C2059: syntax error : ')'
C:\MSDev\VC98\INCLUDE\mswsock.h(101) : error C2146: syntax error : missing ')' before identifier 'sListenSocket'
C:\MSDev\VC98\INCLUDE\mswsock.h(101) : warning C4229: anachronism used : modifiers on data are ignored
C:\MSDev\VC98\INCLUDE\mswsock.h(109) : error C2059: syntax error : ')'
C:\MSDev\VC98\INCLUDE\mswsock.h(131) : error C2146: syntax error : missing ')' before identifier 'hSocket'
C:\MSDev\VC98\INCLUDE\mswsock.h(131) : error C2165: 'left-side modifier' : cannot modify pointers to data
C:\MSDev\VC98\INCLUDE\mswsock.h(131) : error C2071: 'LPFN_TRANSMITFILE' : illegal storage class
C:\MSDev\VC98\INCLUDE\mswsock.h(138) : error C2059: syntax error : ')'
C:\MSDev\VC98\INCLUDE\mswsock.h(146) : error C2146: syntax error : missing ')' before identifier 'sListenSocket'
C:\MSDev\VC98\INCLUDE\mswsock.h(146) : error C2165: 'left-side modifier' : cannot modify pointers to data
C:\MSDev\VC98\INCLUDE\mswsock.h(146) : error C2071: 'LPFN_ACCEPTEX' : illegal storage class
C:\MSDev\VC98\INCLUDE\mswsock.h(154) : error C2059: syntax error : ')'
C:\MSDev\VC98\INCLUDE\winsock2.h(95) : error C2378: 'SOCKET' : redefinition; symbol cannot be overloaded with a typedef
C:\MSDev\VC98\INCLUDE\winsock2.h(112) : error C2146: syntax error : missing ';' before identifier 'fd_array'
C:\MSDev\VC98\INCLUDE\winsock2.h(112) : error C2501: 'SOCKET' : missing storage-class or type specifiers
C:\MSDev\VC98\INCLUDE\winsock2.h(112) : error C2501: 'fd_array' : missing storage-class or type specifiers
C:\MSDev\VC98\INCLUDE\winsock2.h(115) : error C2059: syntax error : ')'

GeneralRe: Problem during compilation of EchoServer Pin
jmkhael23-Jun-04 7:05
jmkhael23-Jun-04 7:05 
GeneralRe: Problem during compilation of EchoServer Pin
Member 119565823-Jun-04 8:09
Member 119565823-Jun-04 8:09 
GeneralCan't create a DLL dialog box object Pin
King Coffee23-Jun-04 6:39
King Coffee23-Jun-04 6:39 
GeneralRe: Can't create a DLL dialog box object Pin
suiram4023-Jun-04 7:58
suiram4023-Jun-04 7:58 
GeneralRe: Can't create a DLL dialog box object Pin
King Coffee23-Jun-04 14:30
King Coffee23-Jun-04 14:30 
GeneralUDP-protcol in C Pin
Member 119572023-Jun-04 6:06
Member 119572023-Jun-04 6:06 
GeneralRe: UDP-protcol in C Pin
suiram4023-Jun-04 7:55
suiram4023-Jun-04 7:55 
GeneralASCII Sort routine Pin
sweep12323-Jun-04 5:54
sweep12323-Jun-04 5:54 
GeneralRe: ASCII Sort routine Pin
jmkhael23-Jun-04 7:12
jmkhael23-Jun-04 7:12 
GeneralRe: ASCII Sort routine Pin
sweep12324-Jun-04 6:04
sweep12324-Jun-04 6:04 
GeneralCFileDialog in windows service Pin
douglas_kei23-Jun-04 4:44
douglas_kei23-Jun-04 4:44 
GeneralRe: CFileDialog in windows service Pin
David Crow23-Jun-04 5:32
David Crow23-Jun-04 5:32 
GeneralRe: CFileDialog in windows service Pin
Mistika1223-Jun-04 6:30
Mistika1223-Jun-04 6:30 
GeneralRe: CFileDialog in windows service Pin
douglas_kei23-Jun-04 8:08
douglas_kei23-Jun-04 8:08 
QuestionHow to build a DDEML server for Excel????? Pin
swerajan23-Jun-04 4:17
swerajan23-Jun-04 4:17 
GeneralCombobox question Pin
LukeV23-Jun-04 3:55
LukeV23-Jun-04 3:55 
GeneralRe: Combobox question Pin
V.23-Jun-04 4:09
professionalV.23-Jun-04 4:09 

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.