wps文字文件括号怎么打:wincrypt.h里大量错误

来源:百度文库 编辑:高考问答 时间:2024/04/28 03:42:37
我用的VS2003.
同样的代码我以前都能编译通过,但是我忘了更改了什么设置(代码绝对没改过).现在不能编译了而显示wincrypt.h里的大量错误.如:c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinCrypt.h(249): error C2501: “HCRYPTPROV” : 缺少存储类或类型说明符
等等.
下面是代码的引用部分:
#include <winsock2.h>
#include <stdio.h>
#include <tlhelp32.h>
#include "stdafx.h"
#pragma comment (lib,"Advapi32.lib")

#include <winsock2.h>
#include <stdio.h>
#include <Wincrypt.h>
#include <tlhelp32.h>
#include "stdafx.h"
#pragma comment (lib,"Advapi32.lib")