有关凭证提供者的问题 [英] Question Regarding Credential Provider

查看:78
本文介绍了有关凭证提供者的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hie,

我正在尝试使用SDK 7.0中的示例进行认证.因此,我编辑了SampleHardwareEventCredentialProvider项目.我想在那里添加一个OpenCV窗口,但是该窗口没有显示.

这是代码:

Hie,

Im trying to do a credential using a sample from SDK 7.0. So, i edit the SampleHardwareEventCredentialProvider project. I want to add an OpenCV window there but the window is not showing.

This is the code:

HWND _hWnd = (HWND) cvNamedWindow("Input",CV_WINDOW_AUTOSIZE);


我做错了吗?

请帮帮我.

在此先谢谢您.


Am i do it wrong?

Please help me.

Thanks in advance.

推荐答案

您提供的信息很少.

但是我可以看到您使用的是openCV的旧版本(C风格),如果您使用的是C ++,则不是必需的.您应该使用更方便使用的新API.

例如,要在窗口中阅读和显示图像,可以使用:
You provided pretty few informations to work with.

But i can see that you are using the old (C-Style) Version of openCV, which isn''t necessary if you''re working with C++. You should rather use the new API which is much more convenient to use.

For example to read and show an image in a window you can use:
Mat img = imread("image.jpg");
namedWindow("image", CV_WINDOW_AUTOSIZE);
imshow("image", img);



在以下内容中介绍了在openCV中使用图像的一些基础知识:
http://docs.opencv.org/doc/user_guide/ug_mat.html [ ^ ]



Some fundamentals of working with images in openCV are explained here:
http://docs.opencv.org/doc/user_guide/ug_mat.html[^]


这篇关于有关凭证提供者的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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