I am having a big problem with the CCArray when I try to run the follow code:
std::string str = CCFileUtils::sharedFileUtils()->fullPathForFilename(“hero.plist”);
CCDictionary* animImages = CCDictionary::createWithContentsOfFile( str.c_str() );
CCArray* arr = CCArray::createWithContentsOfFile( str.c_str() );
The Error is:
Unhandled exception at 0x53844F98 (msvcr110d.dll) in MyProject.exe: 0xC0000005: Access violation reading location 0xFFFFFFF5.
In dbgdel.cpp line 52 .
Basicly I am trying to load a .plist file and parse it in one CCArray. The interesting thing is that code the CCDictionary is working fine, but the CCArray doesn’t =( . Some one knows something about?
Thx For all…