Winrt debugstring fix to pass updated App Certification Tool for Windows Store Apps tests

The latest version of App Certification Tool for Windows Store Apps was failing because of the use of OutputDebugString in logging functions. All functions using OutputDebugString now check if  COCOS2D_DEBUG is defined. This will now allow cocos2d-x apps to pass Windows App Certification. The results of the latest certification test on a release build of TestCpp are shown below:

Windows App Certification Kit - Test Results
App name:
TestCpp
App publisher:
dalestam
App version:
2.0.0.4
OS Version:
Microsoft Windows 8.1 Enterprise (6.3.9600.0)
Kit Version:
3.1
Report time:
10/11/2013 8:05:48 AM

Overall result: PASSED

Crashes and hangs test

PASSED
Crashes and hangs



App manifest compliance test

PASSED
App manifest



Windows security features test

PASSED
Binary analyzer

PASSED
Banned file analyzer

PASSED
Private code signing



Supported API test

PASSED
Supported APIs



Performance test

PASSED
Bytecode generation

PASSED
Optimized binding references

PASSED
Performance launch

PASSED
Performance suspend



App manifest resources test

PASSED
App resources validation

PASSED
Branding validation



Debug configuration test

PASSED
Debug configuration



File encoding test

PASSED
UTF-8 file encoding



Direct3D Feature Test

PASSED
Direct3D feature level support

PASSED
Direct3D Trim after Suspend



App Capabilities test

PASSED
Special use capabilities



Windows Runtime metadata validation

PASSED
ExclusiveTo attribute test

PASSED
Type location test

PASSED
Type name case-sensitivity test

PASSED
Type name correctness test

PASSED
General metadata correctness test

PASSED
Properties test



Package sanity test

PASSED
Platform appropriate files

PASSED
Supported directory structure check



Resource Usage Test

PASSED
WinJS background task test