Cocos2d-x 3.2 for wp8-xaml app store API error when submitting application (CreateEventExA not available) work und

Source: Internet
Author: User

Cocos2d-x 3.2 for wp8-xaml app store API error when submitting application (CreateEventExA not available) work und

After a game is finally completed, an error message such as "CreateEventExA is not supported by the local API" is displayed in the store.


So I searched for CreateEventExA in the entire solution and found no, but found CreateEventEx in Audio. h:

StreamingVoiceContext (): hBufferEndEvent (CreateEventEx (NULL, FALSE, FALSE, NULL )){}

At first, due to laziness, I commented out these items directly and found that there was a crash during the operation.

Then I checked CreateEventEx and found that it is only a define value:

Vcv8tcs2qnllo6zkx9tapc9wpgo8cd5zew5jafwas5ozss8/tbqtcsjuw.vcd4kpha + pgltzybzcm9 "" alt = "\">

It is clear here that I directly try to replace CreateEventEx with CreateEventExW in Audio. h:

StreamingVoiceContext (): hBufferEndEvent (CreateEventExW (NULL, FALSE, FALSE, NULL )){}

The game is running successfully.


Then I submitted it to the store and found that there was no error !!

Complete.



PS: Online cocos2d-x 3.2 of the information is very little, on wp8 is less, it is too painful ....



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.