Click here to Skip to main content
15,910,878 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Burning CDs Pin
David Crow25-Jan-07 6:21
David Crow25-Jan-07 6:21 
AnswerRe: Burning CDs Pin
Hamid_RT25-Jan-07 21:00
Hamid_RT25-Jan-07 21:00 
QuestionHow to initialize a 2D array correctly? :confused: Pin
KaKa'25-Jan-07 5:55
KaKa'25-Jan-07 5:55 
AnswerRe: How to initialize a 2D array correctly? :confused: Pin
Roger Stoltz25-Jan-07 6:18
Roger Stoltz25-Jan-07 6:18 
AnswerRe: How to initialize a 2D array correctly? :confused: Pin
David Crow25-Jan-07 6:26
David Crow25-Jan-07 6:26 
AnswerRe: How to initialize a 2D array correctly? :confused: Pin
Michael Dunn25-Jan-07 8:18
sitebuilderMichael Dunn25-Jan-07 8:18 
GeneralRe: How to initialize a 2D array correctly? :confused: Pin
Roger Stoltz25-Jan-07 11:15
Roger Stoltz25-Jan-07 11:15 
QuestionVisual C++ 1.52 error Pin
jnhemley25-Jan-07 5:55
jnhemley25-Jan-07 5:55 
I'm trying ot compile a function that I developed and successfully compiled in Visual c++ 5.0 as well as on Unix. I need to compile it in a 16 bit DOS environment using sockets to interface it with an old Cobol program. I get the error:

error C2065: 'MAKEWORD' : undeclared identifier

on the following code:

#ifdef WIN
WORD wVersionRequested;
int err; // Stuff for WSA functions
WSADATA wsaData; // Stuff for WSA functions
wVersionRequested=MAKEWORD(1,1);
#endif

I have the following includes:

#ifdef WIN
#include <stdio.h> // Needed for printf()
#include <string.h> // Needed for memcpy() and strcpy()
#include <windows.h>
#include <winsock.h>
#include <stdlib.h>
#endif

Any idea why I get this error on code that compiled on other platforms ?
AnswerRe: Visual C++ 1.52 error Pin
Ravi Bhavnani25-Jan-07 5:59
professionalRavi Bhavnani25-Jan-07 5:59 
GeneralRe: Visual C++ 1.52 error Pin
jnhemley25-Jan-07 6:03
jnhemley25-Jan-07 6:03 
AnswerRe: Visual C++ 1.52 error Pin
jnhemley25-Jan-07 6:00
jnhemley25-Jan-07 6:00 
AnswerRe: Visual C++ 1.52 error Pin
Ted Ferenc25-Jan-07 6:26
Ted Ferenc25-Jan-07 6:26 
GeneralRe: Visual C++ 1.52 error Pin
jnhemley25-Jan-07 8:33
jnhemley25-Jan-07 8:33 
AnswerRe: Visual C++ 1.52 error Pin
Mike O'Neill26-Jan-07 10:42
Mike O'Neill26-Jan-07 10:42 
QuestionIterating over Dialog? Pin
bosfan25-Jan-07 5:38
bosfan25-Jan-07 5:38 
AnswerRe: Iterating over Dialog? Pin
Ravi Bhavnani25-Jan-07 5:41
professionalRavi Bhavnani25-Jan-07 5:41 
GeneralRe: Iterating over Dialog? Pin
bosfan25-Jan-07 5:48
bosfan25-Jan-07 5:48 
AnswerRe: Iterating over Dialog? Pin
Roger Stoltz25-Jan-07 6:05
Roger Stoltz25-Jan-07 6:05 
AnswerRe: Iterating over Dialog? Pin
#realJSOP25-Jan-07 8:26
professional#realJSOP25-Jan-07 8:26 
QuestionUgh! Resource problems and 'Clean-up' tools Pin
Like2Byte25-Jan-07 3:25
Like2Byte25-Jan-07 3:25 
AnswerRe: Ugh! Resource problems and 'Clean-up' tools Pin
Maximilien25-Jan-07 4:17
Maximilien25-Jan-07 4:17 
GeneralRe: Ugh! Resource problems and 'Clean-up' tools Pin
Like2Byte25-Jan-07 4:18
Like2Byte25-Jan-07 4:18 
QuestionReturning an error from service stop Pin
sharon_cds25-Jan-07 2:29
sharon_cds25-Jan-07 2:29 
AnswerRe: Returning an error from service stop Pin
Mark Salsbery25-Jan-07 5:56
Mark Salsbery25-Jan-07 5:56 
QuestionProblem! Pin
baby_fong8225-Jan-07 2:20
baby_fong8225-Jan-07 2:20 

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.