CCFileData fails on Windows 8 RTM

CCFileData fails on Windows 8 RTM
0.0 0


I had a simple app created previously running on Windows8 RP. For the app to be submitted, we were requested by Microsoft to build our project on MVSE 2012 for Windows 8 RTM version.

Upon doing do, it was discovered that CCSprite is creating null sprites. After some tracing, I found that the CCFileData call within CCTextureCache::addImage function failed to load the image file’s data despite the image file is already within project resource.


hi, Ching

I have tow advices for you:
Firstly, keep your engine code updated and you can sync with the currently github code
Secondly, To make sure you have add the image resource into the your_project_name/Assets directory and also in vs project. Please refer SimpleGame