locked
App Certification Failures for app that uses C++ / CX WinRT components

    Question

  • I've tried the Windows App Certification Kit tool on a simple C# application that uses some of my C++ / CX WinRT components, and I'm getting a lot of strange failure reports:

    ◦API ??0Delegate@Platform@@Q$AAA@XZ in vccorlib110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.
    ◦API ??0Object@Platform@@Q$AAA@XZ in vccorlib110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.
    ◦API ?Allocate@Heap@Details@Platform@@SAPAXI@Z in vccorlib110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.
    ◦API ?Free@Heap@Details@Platform@@SAXPAX@Z in vccorlib110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.
    ◦API ?GetActivationFactory@Details@Platform@@YGJPAVModuleBase@1WRL@Microsoft@@PAUHSTRING__@@PAPAUIActivationFactory@@@Z in vccorlib110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.
    ◦API ?GetActivationFactoryByPCWSTR@@YGJPAXAAVGuid@Platform@@PAPAX@Z in vccorlib110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.
    ◦API ?GetIidsFn@@YGJHPAKPBU__s_GUID@@PAPAVGuid@Platform@@@Z in vccorlib110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.
    ◦API ?InitializeData@Details@Platform@@YAJH@Z in vccorlib110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.
    ◦API ?ReCreateFromException@Details@Platform@@YGJP$AAVException@2@@Z in vccorlib110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.
    ◦API ?TerminateModule@Details@Platform@@YG_NPAVModuleBase@1WRL@Microsoft@@@Z in vccorlib110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.
    ◦API ?ToString@Guid@Platform@@QAAP$AAVString@2@XZ in vccorlib110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.
    ◦API ?UninitializeData@Details@Platform@@YAXH@Z in vccorlib110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.
    ◦API ?__abi_FailFast@@YGXXZ in vccorlib110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.
    ◦API ?__abi_WinRTraiseAccessDeniedException@@YGXXZ in vccorlib110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.
    ◦API ?__abi_WinRTraiseCOMException@@YGXJ@Z in vccorlib110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.
    ◦API ?__abi_WinRTraiseChangedStateException@@YGXXZ in vccorlib110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.
    ◦API ?__abi_WinRTraiseClassNotRegisteredException@@YGXXZ in vccorlib110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.
    ◦API ?__abi_WinRTraiseDisconnectedException@@YGXXZ in vccorlib110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.
    ◦API ?__abi_WinRTraiseFailureException@@YGXXZ in vccorlib110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.
    ◦API ?__abi_WinRTraiseInvalidArgumentException@@YGXXZ in vccorlib110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.
    ◦API ?__abi_WinRTraiseInvalidCastException@@YGXXZ in vccorlib110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.
    ◦API ?__abi_WinRTraiseNotImplementedException@@YGXXZ in vccorlib110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.
    ◦API ?__abi_WinRTraiseNullReferenceException@@YGXXZ in vccorlib110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.
    ◦API ?__abi_WinRTraiseObjectDisposedException@@YGXXZ in vccorlib110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.
    ◦API ?__abi_WinRTraiseOperationCanceledException@@YGXXZ in vccorlib110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.
    ◦API ?__abi_WinRTraiseOutOfBoundsException@@YGXXZ in vccorlib110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.
    ◦API ?__abi_WinRTraiseOutOfMemoryException@@YGXXZ in vccorlib110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.
    ◦API ?__abi_WinRTraiseWrongThreadException@@YGXXZ in vccorlib110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.
    ◦API ?_Syserror_map@std@@YAPBDH@Z in msvcp110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.
    ◦API ?_Throw_C_error@std@@YAXH@Z in msvcp110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.
    ◦API ?_Winerror_map@std@@YAPBDH@Z in msvcp110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.
    ◦API ?_Xbad_alloc@std@@YAXXZ in msvcp110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.
    ◦API ?_Xlength_error@std@@YAXPBD@Z in msvcp110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.
    ◦API ?_Xout_of_range@std@@YAXPBD@Z in msvcp110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.
    ◦API _Mtx_destroy in msvcp110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.
    ◦API _Mtx_init in msvcp110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.
    ◦API _Mtx_lock in msvcp110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.
    ◦API _Mtx_unlock in msvcp110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.
    ◦API ??1type_info@@UAE@XZ in msvcr110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.
    ◦API ??2@YAPAXI@Z in msvcr110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.
    ◦API ??3@YAXPAX@Z in msvcr110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.
    ◦API ??_V@YAXPAX@Z in msvcr110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.
    ◦API ?terminate@@YAXXZ in msvcr110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.
    ◦API _CxxThrowException in msvcr110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.
    ◦API __CppXcptFilter in msvcr110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.
    ◦API __CxxFrameHandler3 in msvcr110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.
    ◦API __clean_type_info_names_internal in msvcr110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.
    ◦API __crtTerminateProcess in msvcr110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.
    ◦API __crtUnhandledException in msvcr110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.
    ◦API __dllonexit in msvcr110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.
    ◦API _amsg_exit in msvcr110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.
    ◦API _calloc_crt in msvcr110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.
    ◦API _crt_debugger_hook in msvcr110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.
    ◦API _except_handler4_common in msvcr110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.
    ◦API _initterm in msvcr110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.
    ◦API _initterm_e in msvcr110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.
    ◦API _lock in msvcr110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.
    ◦API _malloc_crt in msvcr110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.
    ◦API _memicmp in msvcr110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.
    ◦API _onexit in msvcr110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.
    ◦API _purecall in msvcr110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.
    ◦API _unlock in msvcr110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.
    ◦API _wmakepath_s in msvcr110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.
    ◦API calloc in msvcr110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.
    ◦API floor in msvcr110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.
    ◦API free in msvcr110.dll is not supported for this application type. MyDll.Kernel.dll calls this API.

    Does anyone have any clues as to why these would be reported as not supported?

    Are these truly unsupported APIs?

    Friday, September 07, 2012 3:57 PM

Answers

  • I hope this helps in case anyone else runs into this issue.

    I added the following to the manifest:

      <Dependencies>
        <PackageDependency Name="Microsoft.VCLibs.110.00" MinVersion="11.0.0.0" />
      </Dependencies>

    All of the failures went away. 

    • Marked as answer by BullyOwner Friday, September 07, 2012 5:24 PM
    Friday, September 07, 2012 5:24 PM

All replies

  • I hope this helps in case anyone else runs into this issue.

    I added the following to the manifest:

      <Dependencies>
        <PackageDependency Name="Microsoft.VCLibs.110.00" MinVersion="11.0.0.0" />
      </Dependencies>

    All of the failures went away. 

    • Marked as answer by BullyOwner Friday, September 07, 2012 5:24 PM
    Friday, September 07, 2012 5:24 PM
  • Thanks for sharing the solution.

    Best regards,
    Jesse


    Jesse Jiang [MSFT]
    MSDN Community Support | Feedback to us

    Monday, September 10, 2012 7:15 AM
  • I hope this helps in case anyone else runs into this issue.

    I added the following to the manifest:

      <Dependencies>
        <PackageDependency Name="Microsoft.VCLibs.110.00" MinVersion="11.0.0.0" />
      </Dependencies>

    All of the failures went away. 


    I have the same issue but no one can answer my questions (see my post at http://social.msdn.microsoft.com/Forums/windowsapps/en-US/f8d5f153-7834-47a2-b6be-70596a7065ce/wack-30-supported-api-test-failed). Could you elaborate on how to add the text. What is the manifest referred in your post?
    Tuesday, September 10, 2013 3:31 PM
  • Open the package.appxmanifest file.  It is an xml file.

    Add the lines indicated in my previous post.

    Tuesday, September 10, 2013 10:33 PM
  • Open the package.appxmanifest file.  It is an xml file.

    Add the lines indicated in my previous post.

    I followed your method but it triggered compiler errors:

    Warning 1 Warning : DEP0810 : This app references Microsoft.VCLibs.120.00, version 12.0.20617.1, found in your SDK, but you have a higher version of Microsoft.VCLibs.120.00 installed on the target machine, 12.0.20812.1. If you continue to run this application, it will run against the currently installed version, Microsoft.VCLibs.120.00, version 12.0.20812.1. Consider updating your SDK to match the version of Microsoft.VCLibs.120.00 that is installed. metouch (Windows 8.1)
    Error 2 Error : DEP0700 : Registration of the app failed. Windows cannot install b6b9a1b7-2622-477a-9ae6-f83b2b4b7c77 because this package has multiple dependencies on the same package Microsoft.VCLibs.120.00. Remove all redundant dependency declarations. (0x80073cf3) metouch (Windows 8.1)

    It seems that VC runtime dependency has been added in the project.

    Wednesday, September 11, 2013 2:39 AM
  • Looks like you need to change it to v12.
    Wednesday, September 11, 2013 2:59 AM
  • Looks like you need to change it to v12.

    Here is what I add to Package.appxmanifest:

    <Dependencies>
         <PackageDependency Name="Microsoft.VCLibs.120.00" MinVersion="12.0.0.0" />
    </Dependencies>

    Wednesday, September 11, 2013 3:51 AM
  • Hi all, i am having this same issue in windows phone. how can i add dependencies ?

    Thank you.


    Pallam Madhukar Windows Phone Developer

    Thursday, October 17, 2013 6:44 AM