如何在Visual C ++下编译WinCrypt.h? [英] How do you compile WinCrypt.h under Visual C++?

查看:1024
本文介绍了如何在Visual C ++下编译WinCrypt.h?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个标准的Visual Studio Express Visual C ++环境,安装在一个标准的Windows 7框。我想简单地编译#includeWinCrypt.h(从Windows SDK)没有错误。有人可以发布prereq设置包括(也许VS设置)来完成这个?

解决方案

不要你只需要 #include< Windows.h> c> #include< Wincrypt.h> ?



编辑:是的,是的,我只是测试它和唯一的要求#include Wincrypt是Windows.h和程序的入口点(主函数)。


I have a bog-standard Visual Studio Express Visual C++ environment, installed on a bog-standard Windows 7 box. I'd like to simply compile "#include "WinCrypt.h" (from the Windows SDK) without error. Can someone post the prereq set of includes (and perhaps VS settings) to accomplish this?

解决方案

Don't you only have to #include <Windows.h> then #include <Wincrypt.h>?

Edit: yes that is the case. I just tested it and the only requirements to #include Wincrypt are Windows.h and an entry point (main function) to your program.

这篇关于如何在Visual C ++下编译WinCrypt.h?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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