[UWP] [C ++ / CX]由于pthreadsVC2.dll,Windows App认证失败 [英] [UWP][C++/CX] Windows App Certification fails due to pthreadsVC2.dll

查看:65
本文介绍了[UWP] [C ++ / CX]由于pthreadsVC2.dll,Windows App认证失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我正在开发一个UWP应用程序,我正在删除WACK声明的受支持的API违规。

I am developing a UWP application and I am in the process of removing supported API violations as declared by the WACK.

pthreadsVC2.dll有很多违规行为,我正在尝试在pthreads-Win32的源代码中本地化问题。

pthreadsVC2.dll has quite a few violations, and I'm attempting to localize the problem in the source code for pthreads-Win32.

以下是一些违规行为:


  • 此应用程序类型不支持pthreadvc2.dll中的API pthread_rwlock_unlock 。 ring-client-uwp.exe调用此API。
  • 此应用程序类型不支持pthreadvc2.dll中的API pthread_rwlock_wrlock 。 ring-client-uwp.exe调用此API。
  • 此应用程序类型不支持pthreadvc2.dll中的API pthread_self 。 ring-client-uwp.exe调用此API。
  • ...
  • API pthread_rwlock_unlock in pthreadvc2.dll is not supported for this application type. ring-client-uwp.exe calls this API.
  • API pthread_rwlock_wrlock in pthreadvc2.dll is not supported for this application type. ring-client-uwp.exe calls this API.
  • API pthread_self in pthreadvc2.dll is not supported for this application type. ring-client-uwp.exe calls this API.
  • ...

但是,  pthread_self 例如,除了
void __cdecl free 之外没有API引用(在corecrt_malloc.h中)。 免费在通用应用程序中不可用吗?

However, pthread_self for instance, has no API references other than void __cdecl free (in corecrt_malloc.h). Is free not available in a Universal Application?

为什么WACK会报告用户API符号?所有其他符号都位于系统dll中。

And why is WACK reporting user API symbols? All the other symbols are located in system dlls.

谢谢

-Andreas

推荐答案

您好SFL-Andreas,

Hi SFL-Andreas,

>>免费在通用应用程序中不可用吗?

>>Is free not available in a Universal Application?

我不知道什么是免费方法?如果免费通过WACK,则会在UWP中使用。

I do not know what is the free method? If the free pass the WACK, it will be used in UWP.

>>为什么WACK会报告用户API符号?所有其他符号都位于系统dll中。

>>And why is WACK reporting user API symbols? All the other symbols are located in system dlls.

当您使用引用其他API的API时,它包含一些UWP不支持的API 。它将报告用户API符号。

When you use the API that reference the other API, it includes some API that not be supported in UWP. It will report user API symbols.

通过检查导入地址,验证应用程序包中的每个二进制文件是否都不依赖于Windows Store应用程序开发不支持的Win32 API二进制表。

验证应用程序包中的每个托管二进制文件是否都不依赖于批准的配置文件之外的函数。

Verifies that each binary within the app package doesn't have a dependency on a Win32 API that is not supported for Windows Store app development by checking the import address table of the binary.
Verifies that each managed binary within the app package doesn't have a dependency on a function outside of the approved profile.

更多信息有关Windows应用认证套件测试的信息,请参阅此链接:  https://msdn.microsoft.com/en-us/windows/uwp/debug-test-perf/windows-app-certification-kit-tests#supported- api-test

For more info about Windows App Certification Kit tests, please refer it in this link: https://msdn.microsoft.com/en-us/windows/uwp/debug-test-perf/windows-app-certification-kit-tests#supported-api-test.




最佳此致,

Jayden Gu

Jayden Gu





这篇关于[UWP] [C ++ / CX]由于pthreadsVC2.dll,Windows App认证失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆