StringUtil::split problem

luckpro

01-02-2009 13:46:54

doh, i have the same problem, but i uninstall the vs2005express and nothing, the same error. I believe the error is in the StringUtil::split function...

string htmldata=".......";
vector <String> vecaux=StringUtil::split(htmldata,"###");

when leaving the function fails and debugger go to...

in file xmemory ...

void deallocate(pointer _Ptr, size_type)
{ // deallocate object at _Ptr, ignore size
::operator delete(_Ptr); <-------------------------------------------
}

I have winxp and vc2008 had before but win2000 and vc2005 worked perfectly the same code.

someone can help me?

PD: sorry for my english :P

betajaen

01-02-2009 14:08:36

Do you have to bring up a post that is a year old? Had to split it for you, which doesn't make me happy.

Anyway, StringUtil::split is in the Ogre namespace , so it's an Ogre problem. As it's related to the STL, which is used by everyone all the time, it's unlikely you've found a bug.

I suggest it may be your program, or your compiler is broken.

luckpro

01-02-2009 17:37:34

oh, probably my compiler is broken because the code is the same one that worked before.