Click here to Skip to main content
15,925,782 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: COM-port mistery Pin
Cedric Moonen21-Jun-05 21:51
Cedric Moonen21-Jun-05 21:51 
GeneralRe: COM-port mistery Pin
tomek1821-Jun-05 22:00
tomek1821-Jun-05 22:00 
QuestionHow to change the CListCtrl control's Header(column) background color Pin
Girish60121-Jun-05 20:09
Girish60121-Jun-05 20:09 
AnswerRe: How to change the CListCtrl control's Header(column) background color Pin
DiWa21-Jun-05 21:26
DiWa21-Jun-05 21:26 
Generalviews in dialog Pin
asdeshmukh21-Jun-05 19:35
asdeshmukh21-Jun-05 19:35 
Generalincluding custom font in app Pin
maruku21-Jun-05 19:35
maruku21-Jun-05 19:35 
GeneralRe: including custom font in app Pin
Chris Losinger22-Jun-05 3:24
professionalChris Losinger22-Jun-05 3:24 
GeneralBinding socket not working in win98 Pin
dasnov21-Jun-05 19:22
dasnov21-Jun-05 19:22 
I have been writing and testing my code on win xp, and today when I tested it on win 98 it allways fails at binding the socket. WSAGetLast error is returning 0 so i don't know what is wrong. Anyone had similar problems?
[CODE]
WSADATA wsaData3;
sockaddr_in service;
service.sin_family = AF_INET;
service.sin_addr.s_addr = INADDR_ANY;
service.sin_port = htons(1336);
char recvbufer[1000];
int bytes;
int err = WSAStartup( MAKEWORD(1,0), &wsaData3 );
if(err)
MessageBox(NULL, "couldnt start", "err", 0);
SOCKET m_socket3 = socket( AF_INET, SOCK_STREAM, IPPROTO_TCP );
if ( bind( m_socket3, (SOCKADDR*) &service, sizeof(service) ) == SOCKET_ERROR ) {
MessageBox(hwnd, "Error starting up. Is another server running on this port?\n", "Error", MB_ICONSTOP);
err = WSAGetLastError();
sprintf(recvbufer, "%i", err);
MessageBox(NULL, recvbufer, recvbufer, 0);
PostQuitMessage(0);
}
if ( listen( m_socket3, 1 ) == SOCKET_ERROR ){
MessageBox(hwnd, "Error listening on socket.\n", "Error", MB_ICONSTOP);
PostQuitMessage(0);
}
[/CODE]
GeneralWindows Services Pin
21-Jun-05 18:39
suss21-Jun-05 18:39 
GeneralRe: Windows Services Pin
ThatsAlok21-Jun-05 18:51
ThatsAlok21-Jun-05 18:51 
Generalclient-server Pin
ask_you21-Jun-05 18:33
ask_you21-Jun-05 18:33 
GeneralRe: client-server Pin
munawar196821-Jun-05 19:10
munawar196821-Jun-05 19:10 
GeneralRe: client-server Pin
ask_you21-Jun-05 19:19
ask_you21-Jun-05 19:19 
GeneralRe: client-server Pin
munawar196821-Jun-05 19:28
munawar196821-Jun-05 19:28 
GeneralRe: client-server Pin
pierrekande21-Jun-05 22:17
pierrekande21-Jun-05 22:17 
GeneralI want to get E-Mail account infomation of OutLook( express , XP, 2003... ) Pin
Blue-Bird21-Jun-05 16:50
Blue-Bird21-Jun-05 16:50 
GeneralRe: I want to get E-Mail account infomation of OutLook( express , XP, 2003... ) Pin
David Crow21-Jun-05 17:34
David Crow21-Jun-05 17:34 
GeneralRe: I want to get E-Mail account infomation of OutLook( express , XP, 2003... ) Pin
Christian Graus21-Jun-05 18:08
protectorChristian Graus21-Jun-05 18:08 
GeneralRe: I want to get E-Mail account infomation of OutLook( express , XP, 2003... ) Pin
ThatsAlok21-Jun-05 19:46
ThatsAlok21-Jun-05 19:46 
GeneralRe: I want to get E-Mail account infomation of OutLook( express , XP, 2003... ) Pin
David Crow22-Jun-05 3:03
David Crow22-Jun-05 3:03 
GeneralRe: I want to get E-Mail account infomation of OutLook( express , XP, 2003... ) Pin
Blue-Bird21-Jun-05 19:22
Blue-Bird21-Jun-05 19:22 
GeneralRe: I want to get E-Mail account infomation of OutLook( express , XP, 2003... ) Pin
David Crow22-Jun-05 3:07
David Crow22-Jun-05 3:07 
GeneralRe: I want to get E-Mail account infomation of OutLook( express , XP, 2003... ) Pin
Blue-Bird22-Jun-05 6:46
Blue-Bird22-Jun-05 6:46 
GeneralRe: I want to get E-Mail account infomation of OutLook( express , XP, 2003... ) Pin
munawar196821-Jun-05 19:13
munawar196821-Jun-05 19:13 
GeneralRe: I want to get E-Mail account infomation of OutLook( express , XP, 2003... ) Pin
Blue-Bird21-Jun-05 19:20
Blue-Bird21-Jun-05 19: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.