Cocos2d-x 3.2 for Wp8-xaml the API error (not createeventexa) that occurs when the app is submitted by the store

Source: Internet
Author: User

Easy to finish a game. Submit to store error prompt that says "Local API does not support Createeventexa"


So I find createeventexa in the whole solution, found no, but found in Audio.h Createeventex:

Streamingvoicecontext (): hbufferendevent (Createeventex (null, FALSE, FALSE, NULL))    {    }

Just started because of lazy, directly staring out of these. It then discovers that there is a flashback during execution.

Then I looked at Createeventex and found that it was just a define value:


The problem is here. So go to the definition of it, is in

In the synchapi.h file:


It's very clear to be here. I tried to replace Createeventex with CREATEEVENTEXW in Audio.h:

Streamingvoicecontext (): hbufferendevent (CREATEEVENTEXW (null, FALSE, FALSE, NULL))    {    }

Game Execution success


Then submit to the store and discover that there are no error hints!

Complete.



PS: Online cocos2d-x 3.2 of the data is very little, about the WP8 is less. It's so painful ....



Cocos2d-x 3.2 for Wp8-xaml the API error (not createeventexa) that occurs when the app is submitted by the store

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.