case IDC_LISTEN: char tBuff[6]; int PORT; HWND hCtrl; GetDlgItemText(hWndconfp,IDC_PORT,tBuff,5); PORT = atoi(tBuff); if(ServerListen(PORT)){ hCtrl = GetDlgItem(hWndconfp,IDC_SL); SetWindowText(hCtrl, "Server listening...");} return TRUE;
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question