Click here to Skip to main content
15,908,166 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: AlphaBlend a PictureControl Pin
Mark Salsbery20-Jul-07 5:17
Mark Salsbery20-Jul-07 5:17 
QuestionRe: AlphaBlend a PictureControl Pin
Hamid_RT31-Jul-07 19:15
Hamid_RT31-Jul-07 19:15 
QuestionInvalidating all open file handles Pin
Abhijeet Pathak19-Jul-07 11:08
Abhijeet Pathak19-Jul-07 11:08 
AnswerRe: Invalidating all open file handles Pin
Vasudevan Deepak Kumar19-Jul-07 18:21
Vasudevan Deepak Kumar19-Jul-07 18:21 
QuestionDisk partitioning Pin
Perspx19-Jul-07 10:31
Perspx19-Jul-07 10:31 
GeneralRe: Disk partitioning Pin
Matthew Faithfull19-Jul-07 12:00
Matthew Faithfull19-Jul-07 12:00 
GeneralRe: Disk partitioning Pin
Perspx19-Jul-07 20:44
Perspx19-Jul-07 20:44 
QuestionIncluding winsock2.h problem Pin
Budric B.19-Jul-07 8:24
Budric B.19-Jul-07 8:24 
Hi,
I have a project I'm working on using GLUT, openGL and a few libraries. Now I'm trying to add sockets to it and whenever I include winsock2.h (haven't even written any relevant code) syntax error : ',' at some line which is meaningless appears. The code compiles and runs if I don't include winsock2.h

I'm using VC++ 2005. I have ws2_32.lib set up to link. I'm not including windows.h, MFC support. I just can't figure out what's wrong. Example code for winsock compiles and works.

As an aside can anyone point to a cross platform sockets library? I think GTK has one but it's way too big.

AnswerRe: Including winsock2.h problem Pin
Budric B.19-Jul-07 9:17
Budric B.19-Jul-07 9:17 
GeneralRe: Including winsock2.h problem Pin
Matthew Faithfull19-Jul-07 9:19
Matthew Faithfull19-Jul-07 9:19 
GeneralRe: Including winsock2.h problem Pin
Budric B.19-Jul-07 9:57
Budric B.19-Jul-07 9:57 
GeneralRe: Including winsock2.h problem Pin
Matthew Faithfull19-Jul-07 10:14
Matthew Faithfull19-Jul-07 10:14 
GeneralRe: Including winsock2.h problem Pin
Budric B.19-Jul-07 10:59
Budric B.19-Jul-07 10:59 
QuestionOptimizing hard drive write performance Pin
TragicComic19-Jul-07 8:02
TragicComic19-Jul-07 8:02 
AnswerRe: Optimizing hard drive write performance Pin
James R. Twine19-Jul-07 8:12
James R. Twine19-Jul-07 8:12 
GeneralRe: Optimizing hard drive write performance Pin
Perspx19-Jul-07 10:38
Perspx19-Jul-07 10:38 
GeneralRe: Optimizing hard drive write performance Pin
TragicComic19-Jul-07 11:38
TragicComic19-Jul-07 11:38 
AnswerRe: Optimizing hard drive write performance Pin
Paresh Chitte19-Jul-07 19:05
Paresh Chitte19-Jul-07 19:05 
GeneralRe: Optimizing hard drive write performance Pin
TragicComic20-Jul-07 7:37
TragicComic20-Jul-07 7:37 
QuestionConverting strings using WideCharToMultiByte Pin
mhand7519-Jul-07 7:42
mhand7519-Jul-07 7:42 
AnswerRe: Converting strings using WideCharToMultiByte Pin
DevMentor.org22-Jul-07 19:38
DevMentor.org22-Jul-07 19:38 
Questionhow can I launch another application( like notepad.exe ) in my VC Pin
LeeeNN19-Jul-07 7:22
LeeeNN19-Jul-07 7:22 
AnswerRe: how can I launch another application( like notepad.exe ) in my VC Pin
Mark Salsbery19-Jul-07 7:27
Mark Salsbery19-Jul-07 7:27 
GeneralRe: how can I launch another application( like notepad.exe ) in my VC Pin
mid=574119-Jul-07 7:28
mid=574119-Jul-07 7:28 
GeneralRe: how can I launch another application( like notepad.exe ) in my VC Pin
Mark Salsbery19-Jul-07 7:34
Mark Salsbery19-Jul-07 7:34 

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.