Original Post
I created a simple heightmap displayer in vc++ 6.0 in directx 9.0b. I got the latest version of the sdk and set up vc++ 2005. I'm using std::vector to store the heightmap data. I keep getting an assertion that the data is out of bounds. I did some debugging and found out that the following is making the assertion: line 774: #if _HAS_ITERATOR_DEBUGGING if (size() <= _Pos) { _DEBUG_ERROR("vector subscript out of range"); _SCL_SECURE_OUT_OF_RANGE; } #endif /* _HAS_ITERATOR_DEBUGGING */ All of my code was working perfectly in vc++ 6.0. Please help. If you need some example code, ask. Thanks, ProgrammingNerd [Edited by - ProgrammingNerd on August 7, 2005 2:43:26 PM]