Click here to Skip to main content
15,894,106 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
SuggestionRe: Split Window Pin
David Crow23-Sep-14 8:08
David Crow23-Sep-14 8:08 
QuestionHow to capture Window messages on device shut down using MFC messages Pin
Member 1110344223-Sep-14 2:39
Member 1110344223-Sep-14 2:39 
AnswerRe: How to capture Window messages on device shut down using MFC messages Pin
Richard MacCutchan23-Sep-14 3:26
mveRichard MacCutchan23-Sep-14 3:26 
QuestionEigen library : compile error Pin
includeh1022-Sep-14 23:18
includeh1022-Sep-14 23:18 
AnswerRe: Eigen library : compile error Pin
Richard MacCutchan23-Sep-14 1:51
mveRichard MacCutchan23-Sep-14 1:51 
AnswerRe: Eigen library : compile error Pin
CubbiMew29-Sep-14 17:04
CubbiMew29-Sep-14 17:04 
QuestionSimilar pattern recognition in 1920 x 1080 Images Pin
peterkoller12322-Sep-14 21:58
peterkoller12322-Sep-14 21:58 
QuestionSeeking Advice/Guidance in Window UI development and tools Pin
Terry Milewski22-Sep-14 8:16
Terry Milewski22-Sep-14 8:16 
AnswerRe: Seeking Advice/Guidance in Window UI development and tools Pin
Richard MacCutchan22-Sep-14 22:12
mveRichard MacCutchan22-Sep-14 22:12 
GeneralRe: Seeking Advice/Guidance in Window UI development and tools Pin
Terry Milewski23-Sep-14 7:16
Terry Milewski23-Sep-14 7:16 
GeneralRe: Seeking Advice/Guidance in Window UI development and tools Pin
Richard MacCutchan23-Sep-14 8:34
mveRichard MacCutchan23-Sep-14 8:34 
Question64bit com dll not get registered Pin
Member 1095241921-Sep-14 21:02
Member 1095241921-Sep-14 21:02 
AnswerRe: 64bit com dll not get registered Pin
Richard MacCutchan21-Sep-14 22:33
mveRichard MacCutchan21-Sep-14 22:33 
QuestionVC++ console application - client / Server Pin
Pouria Polouk20-Sep-14 23:30
Pouria Polouk20-Sep-14 23:30 
AnswerRe: VC++ console application - client / Server Pin
Richard MacCutchan21-Sep-14 0:56
mveRichard MacCutchan21-Sep-14 0:56 
GeneralRe: VC++ console application - client / Server Pin
Pouria Polouk21-Sep-14 4:59
Pouria Polouk21-Sep-14 4:59 
Thank you for your advice, But it didn’t work. I decided to run server program on one of computers in my office. For this purpose I got that computer’s IP address from http://myip.dnsomatic.com and used it in server program. But error code 10049 was returned. (Cannot assign requested address) :


WSAData ws;
struct sockaddr_in sock;
int resSock, cl,bnd;
WSAStartup(MAKEWORD(2, 2), &ws);
resSock = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
if (resSock != INVALID_SOCKET){
sock.sin_family = AF_INET;
sock.sin_port = htons(3377);
sock.sin_addr.S_un.S_addr = inet_addr("86.57.x.y");
}

bnd = bind(resSock, (struct sockaddr *)&sock, sizeof(sock));
if (bnd != SOCKET_ERROR)
cout << "Successfull..." << endl;
else
cout << GetLastError() << endl;
GeneralRe: VC++ console application - client / Server Pin
Richard MacCutchan21-Sep-14 7:55
mveRichard MacCutchan21-Sep-14 7:55 
GeneralRe: VC++ console application - client / Server Pin
Pouria Polouk21-Sep-14 8:46
Pouria Polouk21-Sep-14 8:46 
QuestionRe: VC++ console application - client / Server Pin
David Crow21-Sep-14 14:23
David Crow21-Sep-14 14:23 
AnswerRe: VC++ console application - client / Server Pin
Pouria Polouk22-Sep-14 3:27
Pouria Polouk22-Sep-14 3:27 
AnswerRe: VC++ console application - client / Server Pin
Albert Holguin22-Sep-14 3:45
professionalAlbert Holguin22-Sep-14 3:45 
GeneralRe: VC++ console application - client / Server Pin
Pouria Polouk22-Sep-14 4:46
Pouria Polouk22-Sep-14 4:46 
GeneralRe: VC++ console application - client / Server Pin
Richard MacCutchan22-Sep-14 6:25
mveRichard MacCutchan22-Sep-14 6:25 
QuestionRe: VC++ console application - client / Server Pin
jeron122-Sep-14 6:31
jeron122-Sep-14 6:31 
AnswerRe: VC++ console application - client / Server Pin
Pouria Polouk22-Sep-14 6:50
Pouria Polouk22-Sep-14 6:50 

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.