Hi, I have been working on WinRT C++ stuff and found that some of the samples aren’t working in the current version of Visual Studio 2012 RC, if you run the July 2012 Patch.  If you attempt to use the sample directly from the http://aka.ms/HybridJavaScriptAndCppSampleUpgraded location it won’t work, but if you applied the July 2012 patch to Visual Studio, then you will need to do the patch at the following URL if you get the error:

Error : DEP0800 : The required framework "C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0\ExtensionSDKs\Microsoft.VCLibs\11.0\.\AppX\Debug\ARM\Microsoft.VCLibs.ARM.Debug.11.appx" failed to install.
Windows cannot install package Microsoft.VCLibs.110.Debug because the package requires architecture ARM, but this computer has architecture x64

then take a look at my blog to fix it, before you do, check to see if there is a patch for the deployment issue before using my workaround: http://aka.ms/DeploymentProblemAugust_15_2012

Once you get through that, then you will need to move to fixing the sample, I have done so and have included a zip file at the BOTTOM of this post and also at the Code Gallery.