解决Windows应用程序(支持api)认证失败的工作流程? [英] workflow to solve windows app (supported api) certification failure ?

查看:284
本文介绍了解决Windows应用程序(支持api)认证失败的工作流程?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


windows app(支持的api)认证失败会返回很多错误。在这一点上,我正在质疑自己应该如何处理这个问题。我使用了很多用普通c / c ++编写的库,例如我会接受这个错误:



  • 不支持crypt32.dll中的API CertOpenSystemStoreA申请类型。 project.exe调用这个API。

我对整个项目文件进行了搜索,没有调用CertOpenSystemStoreA,所以之后我发现这个函数与CertOpenSystemStore女巫在你的sdk的某个标题中定义...所以第一个问题:


1)如何在不查看每个标题的情况下处理该问题,(不仅在我的项目中,而且在整盘)?此外,认证软件至少返回正确的名称也是好的...


2)我也想知道认证是否正在解析整个.cpp / .h与我的项目相关联,或者只是查看链接到项目的.lib内部?



在此之后我发现在gnutls中调用了CertOpenSystemStore函数而不是CertOpenSystemStoreA。好吧,因为我有很多其他的c ++依赖项,比如gnutls给出了+90其他的api失败,我真的很想知道我应该用
来处理它。


当我正在写项目我没有警告或错误告诉我不能使用CertOpenSystemStoreA。由于CertOpenSystemStoreA不是直接从我的项目中调用的,你可以说视觉无法在每次构建过程中解析所有东西,但是如果我在我的代码中添加函数
System我得到了相同的问题,在认证期间也出现了关于System的错误。在构建期间可以检测到这个。



解决方案

嗨nicooplusplus,


欢迎来到开发通用Windows应用论坛! 


< p style ="margin-bottom:12pt; line-height:13.5pt">请阅读粘贴帖子,特别是  指南
发布:主题行标签
   < a href ="https://social.msdn.microsoft.com/Forums/windowsapps/en-US/722b2712-595b-401d-acf4-5d36261eeb71/known-issues-for-windows-10-sdk-and-tools? forum = wpdevelop"> Windows 10 SDK和工具的已知问题  。


>>如何处理w这个问题没有查看每个标题,(不仅在我的项目中,而且在整个磁盘中)?此外,认证软件至少返回正确的名称也是好的...


WACK将找到不支持哪个dll,但它不知道它在哪里被使用。


>>我也想知道认证是否正在解析与我的项目相关的整个.cpp / .h或者它只是查看链接到项目的.lib内部?


我不确定认证是如何运作的。如果要列出特定进程在运行时加载的DLL,请参阅此链接中的ListDLLs工具:  https://technet.microsoft.com/en-us/sysinternals/bb896656.aspx




最诚挚的问候,


Jayden Gu


 


hi,

the windows app (supported api) certification failure return a lot of errors. At this point I'm questioning myself about how I should deal with that. I use a lot of libs written in plain c/c++, for example I will take this error :

  • API CertOpenSystemStoreA in crypt32.dll is not supported for this application type. project.exe calls this API.

I did a search on the whole project files, there is no call of CertOpenSystemStoreA, so after that I found that this function is related to CertOpenSystemStore witch is define in some header in your sdk... so first question :

1) how can deal with that problem without looking in every headers, (not only in my project but in the whole disk) ? Also it would be good that the certification software returns at least the right name...

2) I also wonder if the certification is parsing the whole .cpp/.h associated to my project or if it just looking inside the .lib linked to the project ?

after that point I discover that the function CertOpenSystemStore not CertOpenSystemStoreA is called in gnutls. well since I have a lot of other c++ dependencies like gnutls which give +90 other api failures, I really wonder how I'm supposed to deal with that.

When I was writing the project I got no warning or errors telling I can't use CertOpenSystemStoreA. Since CertOpenSystemStoreA is not call directly from my project you can argue that visual cannot parse during every build everything, but if I add the function System in my code I get the same issue, an error about System during the certification as well. And this one could be detected during the build.

解决方案

Hi nicooplusplus,

Welcome to the Developing Universal Windows apps forum! 

Please read the sticky posts, especially the Guide to posting: subject line tags and Known Issues for Windows 10 SDK and Tools .

>>how can deal with that problem without looking in every headers, (not only in my project but in the whole disk) ? Also it would be good that the certification software returns at least the right name...

The WACK will find which dll can no be supported, but it can not know where does it has been used.

>>I also wonder if the certification is parsing the whole .cpp/.h associated to my project or if it just looking inside the .lib linked to the project ?

I'm not sure how does the certification works. If you want to list the DLL's that has been loaded by a particular process at runtime, please refer ListDLLs tool in this link: https://technet.microsoft.com/en-us/sysinternals/bb896656.aspx.


Best Regards,

Jayden Gu

 


这篇关于解决Windows应用程序(支持api)认证失败的工作流程?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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