开发者

How do you compile WinCrypt.h under Visual C++?

开发者 https://www.devze.com 2023-02-25 01:36 出处:网络
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

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 accompli开发者_运维技巧sh 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消