Category : abort

The below part of my code consistently triggers a "Debug Error! abort() has been called" message upon execution in Visual Studio: if(m_handle==INVALID_HANDLE_VALUE) return(false); // no return here, therefore m_handle is valid (?) if(!m_connected){ // some bool indicating a connection doesn’t already exist if(ConnectNamedPipe(m_handle,NULL)==0){ // — Abort() message triggered here —- // blah } } The ..

Read more