Just wanted to post here that I just realised the demos and OIS itself are susceptible to the VC8 STL stringstream (iostream) bug. In Ogre, this was reported as memory leaks with Ogre itself. However, I ran into a problem with the OIS ActionMapping demo, when resetting the action bidings, there was a crash. Anyway, luckliy I remembered the issue, and have replaced all occurances of stringstream with ostringstream.
Though, I really don't get how MS's STL could flake out when restting the vector of events just because elsewhere in the code there was a stringstream being used.. must be some common static stl variable madness. I thought moving away from VC7.0 was supposed to improve MS STL :wink:
Anyway, this will be committed shortly.