如何在Windows7中使用credentialprovider.dll [英] How to use credentialprovider.dll in windows7

查看:205
本文介绍了如何在Windows7中使用credentialprovider.dll的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为Windows7开发凭据提供程序.为此,我下载了示例代码 HybridCred提供程序.编译此代码后,我的dll名称为" HybridCredProv.dll ".但是我不知道该dll在哪里复制到Windows中可以在Windows启动时使用.请帮助我 使用此dll的过程.

I am developing credential provider for windows7.For this i download a sample code HybridCred provider .After compile this code i have a dll name "HybridCredProv.dll ".But i don't know that where i copy this dll into windows that it can be used on windows boot time.So pleas help me that what is the procedure to use this dll.

 

推荐答案

您好,

我是论坛的新手,但也许我可以为您提供帮助.我这里没有Windows7,但路径应相同:

I'm new to the Forum but maybe I can help you. I do not have a Windows7 here but the path should be the same:

您必须将.dll复制到您的system32目录中.这是c:\ WINDOWS \ system32 \.

You have to copy the .dll int your system32 directory. Here it is c:\WINDOWS\system32\.

然后,您必须注册.dll.您必须创建一个唯一的GUID(例如,使用visual Studio-> Tools-> Create GUID).在您的示例代码中应有一个文件"Register.reg",和"Unregister.reg".使用编辑器编辑此文件,然后 相应地进行更改.

Then you have to register the .dll. You have to create a unique GUID (with visual Studio->Tools->Create GUID for example). In your Sample Code should be a File "Register.reg" and "Unregister.reg". Edit this File with an Editor and change it accordingly.

!!!!!!!

在更改文件之前不要双击文件

Dont't double click on the file before you changed it

!!!!!!

有关更详细的说明,请参见凭据提供程序示例概述".可以在示例\安全性\凭据提供程序"中找到Microsoft SDK中的路径.这样的文件也可能在您下载的样本中.

For a more detailed explanation see the "Credential Provider Samples Overview.mht" that can be found in the "Samples\security\credentialproviders" Path in your microsoft sdk. A file like this might be in your downloaded Sample also.

更改后,您可以通过双击Register.reg来注册.dll,并通过双击Unregister.reg来取消注册.

After changing it you can register your .dll by double clicking Register.reg and unregister by double clicking Unregister.reg.

重新启动后,凭据提供程序应该可见.

After restarting, the credentialprovider should be visible.

希望有帮助


这篇关于如何在Windows7中使用credentialprovider.dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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