如何在Visual C ++下编译WinCrypt.h? [英] How do you compile WinCrypt.h under Visual C++?
问题描述
我有一个标准的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屋!