After the winsock initializeres WORD and WSADATA and the other stuff was put in to the dialog procedure the dialog box does not show up. Should Word and wsadata stuff be global?
Where it is now the dialogbox does not display.... not sure why. meow. Any thoughts or suggestions?Code:.... #include<winsock.h> .... BOOL CALLBACK ServerDlgProc(HWND hwnd, UINT Message, WPARAM wParam, LPARAM lParam) { WORD wVersionRequested = MAKEWORD(1,1); WSADATA wsaData; int SVR; SVR = WSAStartup(wVersionRequested, &wsaData); switch(Message) { case WM_INITDIALOG: return TRUE; case WM_COMMAND: switch(LOWORD(wParam)) { case IDC_SRVR: { ....
ps. note winapi codecolor by codeform!



LinkBack URL
About LinkBacks


