I'm trying to write code (in Visual Studio 6) to generate a number of test customer entries which will allow me to get some timings from another program. The main aim is to generate upto 1 million numbers in numerical order.
All seems okay until I use a sort, after which the size of the list drops.
I wondered if the 37,768 was relevant and added it to a google search and voila! One page described the same problem I'm having and points here: http://support.microsoft.com/kb/240014/en-us
Looks as though it's a MS VC thing.
Edited the list header file, recompiled and all okay.
Many thanks for looking at the code kbw, hope you didn't spend too much time on it.