locked
WACK 3.4 Supported api test failed.

    Question

  • Hi. I'm getting error message on "Supported API test":

    API ??1type_info@@UAE@XZ in msvcr120.dll is not supported for this application type. magic.dll calls this API.
    API ??2@YAPAXI@Z in msvcr120.dll is not supported for this application type. magic.dll calls this API.
    API ??3@YAXPAX@Z in msvcr120.dll is not supported for this application type. magic.dll calls this API.
    API ?terminate@@YAXXZ in msvcr120.dll is not supported for this application type. magic.dll calls this API.
    API __CppXcptFilter in msvcr120.dll is not supported for this application type. magic.dll calls this API.
    API __CxxFrameHandler3 in msvcr120.dll is not supported for this application type. magic.dll calls this API.
    API __clean_type_info_names_internal in msvcr120.dll is not supported for this application type. magic.dll calls this API.
    API __crtTerminateProcess in msvcr120.dll is not supported for this application type. magic.dll calls this API.
    API __crtUnhandledException in msvcr120.dll is not supported for this application type. magic.dll calls this API.
    API __dllonexit in msvcr120.dll is not supported for this application type. magic.dll calls this API.
    API _amsg_exit in msvcr120.dll is not supported for this application type. magic.dll calls this API.
    API _calloc_crt in msvcr120.dll is not supported for this application type. magic.dll calls this API.
    API _crt_debugger_hook in msvcr120.dll is not supported for this application type. magic.dll calls this API.
    API _except_handler4_common in msvcr120.dll is not supported for this application type. magic.dll calls this API.
    API _initterm in msvcr120.dll is not supported for this application type. magic.dll calls this API.
    API _initterm_e in msvcr120.dll is not supported for this application type. magic.dll calls this API.
    API _libm_sse2_acos_precise in msvcr120.dll is not supported for this application type. magic.dll calls this API.
    API _libm_sse2_atan_precise in msvcr120.dll is not supported for this application type. magic.dll calls this API.
    API _libm_sse2_cos_precise in msvcr120.dll is not supported for this application type. magic.dll calls this API.
    API _libm_sse2_sin_precise in msvcr120.dll is not supported for this application type. magic.dll calls this API.
    API _libm_sse2_sqrt_precise in msvcr120.dll is not supported for this application type. magic.dll calls this API.
    API _libm_sse2_tan_precise in msvcr120.dll is not supported for this application type. magic.dll calls this API.
    API _lock in msvcr120.dll is not supported for this application type. magic.dll calls this API.
    API _malloc_crt in msvcr120.dll is not supported for this application type. magic.dll calls this API.
    API _onexit in msvcr120.dll is not supported for this application type. magic.dll calls this API.
    API _purecall in msvcr120.dll is not supported for this application type. magic.dll calls this API.
    API _unlock in msvcr120.dll is not supported for this application type. magic.dll calls this API.
    API atoi in msvcr120.dll is not supported for this application type. magic.dll calls this API.
    API fclose in msvcr120.dll is not supported for this application type. magic.dll calls this API.
    API fopen in msvcr120.dll is not supported for this application type. magic.dll calls this API.
    API fread in msvcr120.dll is not supported for this application type. magic.dll calls this API.
    API free in msvcr120.dll is not supported for this application type. magic.dll calls this API.
    API fseek in msvcr120.dll is not supported for this application type. magic.dll calls this API.
    API ftell in msvcr120.dll is not supported for this application type. magic.dll calls this API.
    API fwrite in msvcr120.dll is not supported for this application type. magic.dll calls this API.
    API malloc in msvcr120.dll is not supported for this application type. magic.dll calls this API.
    API memcpy in msvcr120.dll is not supported for this application type. magic.dll calls this API.
    API memset in msvcr120.dll is not supported for this application type. magic.dll calls this API.
    API rand in msvcr120.dll is not supported for this application type. magic.dll calls this API.
    API realloc in msvcr120.dll is not supported for this application type. magic.dll calls this API.
    Is it problem in my 3rd party dll or not? If I'm not wrong, that problem is in magic.dll, because it needs to be referenced with msvcr120_app.dll, but not with msvcr120.dll?

    I'm building app to windows 8.1 and 3rd party dll was built with target to 8.1 too.

    • Edited by sadworf Monday, December 22, 2014 7:11 PM
    Monday, December 22, 2014 3:06 PM

Answers

  • It sounds like your magic.dll isn't Store compliant. The APIs it's calling aren't in the supported list.  It's probably due to msvcr12.dll being used.

    http://msdn.microsoft.com/en-us/library/windows/apps/dn424765.aspx


    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.

    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.

    • Marked as answer by sadworf Tuesday, December 23, 2014 9:31 AM
    Monday, December 22, 2014 7:55 PM
    Moderator

All replies

  • It sounds like your magic.dll isn't Store compliant. The APIs it's calling aren't in the supported list.  It's probably due to msvcr12.dll being used.

    http://msdn.microsoft.com/en-us/library/windows/apps/dn424765.aspx


    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.

    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.

    • Marked as answer by sadworf Tuesday, December 23, 2014 9:31 AM
    Monday, December 22, 2014 7:55 PM
    Moderator
  • Thanks, I have already contacted developer and we are working now on this issue.
    Tuesday, December 23, 2014 9:31 AM