vc6缺省是不定义_WIN32_WINNT宏的。
而在wincrypt.h中有
#if (_WIN32_WINNT >= 0x0400)
...
#endif
必须加入:
#define _WIN32_WINNT 0x0400
而且
#include <windows.h>
必须在#include <wincrypt.h>之前
vc6缺省是不定义_WIN32_WINNT宏的。
而在wincrypt.h中有
#if (_WIN32_WINNT >= 0x0400)
...
#endif
必须加入:
#define _WIN32_WINNT 0x0400
而且
#include <windows.h>
必须在#include <wincrypt.h>之前