I'm making a simple file transfer program to learn winsock, however I have one question. My WinMain function is two lines long. My DlgProc function is big.
Do I need a message loop?
Note: That messagebox is just for testing. it doesn't come up until you close the program (even then you don't see it but you hear the 'ding' sound). That leads me to believe I need no message loop?
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR lpCmdLine, int ShowCmd)
DialogBox(hInstance, MAKEINTRESOURCE(IDD_MainDlg), NULL, (DLGPROC)DialogProc);
MessageBox(NULL, "Hi", "", MB_OK);