I try to submit my game to Windowphone dev center but I get these error! Anyone has complete before?
My game use cocos2dx 2.2
Best regards
1028: The native API api-ms-win-core-synch-l1-2-0.dll:CreateMutexExA() isn’t allowed in assembly libcocos2d.dll. Update it and then try again.
1028: The native API api-ms-win-core-synch-l1-2-0.dll:CreateEventExA() isn’t allowed in assembly libGLESv2_phone.dll. Update it and then try again.
1028: The native API api-ms-win-core-debug-l1-1-1.dll:OutputDebugStringA() isn’t allowed in assembly libcocos2d.dll. Update it and then try again.
OutputDebugStringA() can simply comment out because it will not affect your game logic. Maybe you can use which is in C++11 to replace CreateMutexExA() and simulate CreateEventExA() behavior.
You can search the key words through out the solution. I find only one file using OutputDebugStringA/W which is CCCommon.cpp. You can comment them out for the release build, or and a macro as your wish.
Reguard to CreateMutex stuff, it is used in CCWinRTUtils.h, you can use here. CreateEventEx() is used in several places, you can check whether to change it or simply comment out, if you’re not using them.
I checked my project.
In Cocos2d-x 2.2 standard (download from Cocos2d-x.org), my project still can not play sound Effect when run with “Release” mode, but run in “Debug”.
How I fix it! (I think I fail in configuration project properties, but I don’t know where this)
“TestCpp” projects work for Release!