ReadFile(hFile,&ReadVector,sizeof(ReadVector),&BytesRead,NULL);Where ReadVector is declared:
vectorif I comment out the preceding line, everything works perfectly, but otherwise, I get this lovely dialog box that says: "Debug assertation failed" "Expression: _BLOCK_TYPE_IS_VALID(pHead->nBlockUse" Then there are 3 buttons at the bottom, Abort, retry, and ignore. I think it has something to do with the way i pass ReadFile() the vector... any ideas? Thanks, MattReadVector;