G
Guest
hi everyone.
i'm currently experiencing a strange problem under vc++ 2005 express. i hope
someone has a hint for me, i'm kind of lost atm.
i'm using a vectors of pointers in my code.
using the release build i can add and remove elements aslong as i stay below
a certain vector size (13 in this case, no joke). as soon as the vector tries
to add element 14 i get a runtime error.
the whole thing get's really strange when i use the debug build. i can add
as much elements as i want without any problems (tried above 500). but that's
not all. it works with the debug build aslong as i start from the IDE or if i
doubleclick the debug.exe. it will crash with the same error as the release
build when i start it from a cmd prompt (just one push_back earlier)
i have no clue what to do now. i can't debug cause the debug build works.
inserting some debug msgs show that vector.push_back() seems to trigger the
crash...
suggestions more than welcome
i'm currently experiencing a strange problem under vc++ 2005 express. i hope
someone has a hint for me, i'm kind of lost atm.
i'm using a vectors of pointers in my code.
using the release build i can add and remove elements aslong as i stay below
a certain vector size (13 in this case, no joke). as soon as the vector tries
to add element 14 i get a runtime error.
the whole thing get's really strange when i use the debug build. i can add
as much elements as i want without any problems (tried above 500). but that's
not all. it works with the debug build aslong as i start from the IDE or if i
doubleclick the debug.exe. it will crash with the same error as the release
build when i start it from a cmd prompt (just one push_back earlier)
i have no clue what to do now. i can't debug cause the debug build works.
inserting some debug msgs show that vector.push_back() seems to trigger the
crash...
suggestions more than welcome