首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > VC/MFC >

为什么小弟我#include <Wincrypt.h>了,仍然不能使用DATA_BLOB

2012-01-29 
为什么我#include Wincrypt.h了,仍然不能使用DATA_BLOB#includeWincrypt.h...DATA_BLOBblobIn...然后

为什么我#include <Wincrypt.h>了,仍然不能使用DATA_BLOB
#include   <Wincrypt.h>
...
DATA_BLOB   blobIn;
...

然后编译之,出现这样的错误提示:error   C2065:   'DATA_BLOB '   :   undeclared   identifier

怎么回事啊?怎搞?

[解决办法]
C2065: ' <data-member name> ' : undeclared identifier

If this error occurs in one of your member functions then it is generally the result of forgetting the class scope operator in front of the function name in your .cpp file.


[解决办法]
会不会Include放的地方不对?
[解决办法]
typedef struct _CRYPTOAPI_BLOB {
DWORD cbData;
BYTE* pbData;
} DATA_BLOB, *PDATA_BLOB,
//如果你只想用这个DATA_BLOB的话,把这个加到你的头文件里算了
[解决办法]
有没有装Platform SDK?

热点排行