Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
43 Views

WACK Supported API test for Windows Store failed

I have a C++ Universal Windows Platform (UWP) app project that includes some static libraries built with Intel Fortran.  When I run the Windows App Certification Kit (WACK) it fails the Supported API test.  Here are the APIs it complains about.

  • API CreateFileA in kernel32.dll is not supported for this application type. OPT.exe calls this API.
  • API CreateProcessA in kernel32.dll is not supported for this application type. OPT.exe calls this API.
  • API GetACP in kernel32.dll is not supported for this application type. OPT.exe calls this API.
  • API GetEnvironmentVariableA in kernel32.dll is not supported for this application type. OPT.exe calls this API.
  • API GetFileInformationByHandle in kernel32.dll is not supported for this application type. OPT.exe calls this API.
  • API GetFileSize in kernel32.dll is not supported for this application type. OPT.exe calls this API.
  • API GetFullPathNameA in kernel32.dll is not supported for this application type. OPT.exe calls this API.
  • API GetModuleHandleA in kernel32.dll is not supported for this application type. OPT.exe calls this API.
  • API GetModuleHandleExA in kernel32.dll is not supported for this application type. OPT.exe calls this API.
  • API GetProcessTimes in kernel32.dll is not supported for this application type. OPT.exe calls this API.
  • API GetStdHandle in kernel32.dll is not supported for this application type. OPT.exe calls this API.
  • API GetSystemDefaultLangID in kernel32.dll is not supported for this application type. OPT.exe calls this API.
  • API GetTempFileNameA in kernel32.dll is not supported for this application type. OPT.exe calls this API.
  • API GetTempPathA in kernel32.dll is not supported for this application type. OPT.exe calls this API.
  • API GetThreadLocale in kernel32.dll is not supported for this application type. OPT.exe calls this API.
  • API GetUserDefaultLangID in kernel32.dll is not supported for this application type. OPT.exe calls this API.
  • API GetVersionExA in kernel32.dll is not supported for this application type. OPT.exe calls this API.
  • API LoadLibraryA in kernel32.dll is not supported for this application type. OPT.exe calls this API.
  • API LoadLibraryExA in kernel32.dll is not supported for this application type. OPT.exe calls this API.
  • API SetConsoleCtrlHandler in kernel32.dll is not supported for this application type. OPT.exe calls this API.
  • API SetErrorMode in kernel32.dll is not supported for this application type. OPT.exe calls this API.
  • API TerminateThread in kernel32.dll is not supported for this application type. OPT.exe calls this API.
  • API StackWalk64 in imagehlp.dll is not supported for this application type. OPT.exe calls this API.
  • API SymCleanup in imagehlp.dll is not supported for this application type. OPT.exe calls this API.
  • API SymInitialize in imagehlp.dll is not supported for this application type. OPT.exe calls this API.

It looks the kernel32 ones are additional dependencies of the Fortran stuff.  Maybe the imagehlp ones are too.  What do I need to change in order to use Intel Fortran built static libraries in a Windows Store app?  Thanks in advance.

0 Kudos
1 Reply
Highlighted
43 Views

Intel Fortran uses the Desktop APIs. A UWP application doesn't support all of these "classic" APIs. You may not be able to use Fortran code in a UWP application.

0 Kudos