Well, I hit debug when it crashed, and popped up the "call stack" window, and here is my analysis:
Also, once in a while it will simply not crash but infinitely pop up messageboxes that say "Connection to server lost" (which SOUNDS like infinite recursion to me), after which right-clicking "My Computer" and going to properties results in a message saying "Access to the specified device, path, or file is denied", and Notepad has "not enough memory" to run while MSVC++ does... Any ideas?
MessageBox(hWnd, "Connection to server lost.", "Error", MB_OK);
server->hasData() which calls: