cocos2d/cocos2d-x — pull request #1091 by NatWeiss (2012-07-09 07:01:23+00:00)
Title: Fixes Win32 error "The application failed to initalize properly"

On Win32 XP SP3 with Visual Studio 2010, linking with the "incremental linking" option causes the runtime error message "The application failed to initalize properly 0xc000000d" in both Debug and Release configurations. The HelloWorld and test applications both fail to run because of this error.

See this forum post:
http://cocos2d-x.org/boards/6/topics/12188?r=12431

After reading Microsoft's documentation on the incremental linker. I see no reason why this is enabled for Cocos2D-X projects by default. Here's a link to their documentation:
http://msdn.microsoft.com/en-us/library/4khtbfyf(v=vs.80).aspx

This pull request turns off incremental linking and fixes the runtime error.