Store pulish error in CreateEventExA()

Hi, I’m trying to upload my game into wp store but I got the problem “1028: The native API api-ms-win-core-synch-l1-2-0.dll:CreateEventExA() isn’t allowed in assembly HelloCppComponent.dll. Update it and then try again.”

I’m work with cocos 3.0. How can I fix it? Thanks

I have same issue :((

I found method CreateEventExA() to be used in Audio.h of CocosDenshion with define CreateEventEx to CreateEventExA.
You can fix it by replate CreateEventEx to CreateEventExW, or add preprocessor _UNICODE
UNICODE to CocosDenshion.

1 Like

Thanks you very muck muck :slight_smile:

@dungmv
I have same issue
in file Audio.h of CocosDenshion not found method CreateEventExA()
How can I fix it? Thanks

may be you wrong folder, correct directory is cocos2d-x-3.2\cocos\audio\wp8\Audio.h
If you are not sure. you can add preprocessor _UNICODE and UNICODE to audio for wp8