fseek(fp,0,SEEK_END);
**pSize = ftell;
fseek;
pBuffer = new unsigned char;
**pSize = fread(pBuffer,sizeof(unsigned char), *pSize,fp);
fclose(fp);
} while (0);
if (! pBuffer && isPopupNotify())
{
std::string title = “Notification”;
std::string msg = “Get data from file(”;
msg.append(pszFileName).append(“) failed!”);
My solution is very funny:Will resource to copy to Resourcer root directory, modify the code CCB path, operation can success.
After the success of the code again the CCB path change back to the original point good kind of path, again running will not have the mistake.
This problem card me two days, to at present although can continue to develop project. But didn’t find the real reason. But is necessarily and path have relationship!
I met a new problem, I added a few interface, the same code.
But some interface using CCControlButton is correct, some interface but tip: Skipping selector “XXXX” since no CCBSelectorResolver is present.
Contrast many times TestCpp, found nothing different…
I met a new problem, I added a few interface, the same code.
But some interface using CCControlButton is correct, some interface but tip: Skipping selector “XXXX” since no CCBSelectorResolver is present.
Contrast many times TestCpp, found nothing different…
Skipping selector “XXXX” since no CCBSelectorResolver is present. I have this problem too! I created a menu with a button by the cocosbuilder and bound a selector on the button. But when I run the project in xcode and the error came out…
lukey liu wrote:
> I met a new problem, I added a few interface, the same code.
> But some interface using CCControlButton is correct, some interface but tip: Skipping selector “XXXX” since no CCBSelectorResolver is present.
> Contrast many times TestCpp, found nothing different…
>
Skipping selector “XXXX” since no CCBSelectorResolver is present. I have this problem too! I created a menu with a button by the cocosbuilder and bound a selector on the button. But when I run the project in xcode and the error came out…
>
Did you solve it yet? Or anyone any sugestion?
have you solved it ? then I have met same error with you, thanks.
I checked the function name and call-back function is all right.so weird.