Hi,
I want to read a XML-file using CCFileUtils::getFileData. my Code looks something like this:
unsigned long* pSize;
unsigned char* xml = CCFileUtils::getFileData(“test”, “r”, pSize);
CCLog(“%s”, xml);
delete []xml;
xml = NULL;
Everything works fine. I also get the expectet outpout from CCLog, but after that the App crashes with “Fatal Signal 11”. What could be the problem?