int _tmain(int argc, _TCHAR* argv[]) { try { HANDLE myManagerIOPort = CreateIoCompletionPort((HANDLE)INVALID_HANDLE_VALUE, NULL, 0, 0); if(!myManagerIOPort) { printf("Error creating communication port for manager.\r\n"); return -1; } else { printf("Communication port is ready\n"); } } catch(...) { printf("Exception in the CrateIoCompletion Port Exception"); } return 0; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)