摘要: 2009-03-21 19:06在编译一个cpp程序时,明明已经 include <wincrypt.h>,可还是报错D:\crypt\crypt.cpp(20) : error C2065: 'HCRYPTHASH' : undeclared identifierD:\crypt\crypt.cpp(20) : error C2146: syntax error : missing ';' before identifier 'hHash'D:\crypt\crypt.cpp(20) : error C2065: 'hHas 阅读全文
posted @ 2011-03-27 17:13 kangwang1988 阅读(5024) 评论(0) 推荐(0) 编辑
摘要: 1.在你将要使用GDI+的工程中,完成初始化工作,将以下代码加入StdAfx.h头文件中://加入的头文件#include <comdef.h>//初始化一下com口#ifndef ULONG_PTR#define ULONG_PTR unsigned long*#include "GdiPlus.h"using namespace Gdiplus;#endif#pragma comment(lib,"gdiplus.lib")2.在程序初始化部分加入//gdi+用到的两个变量 装载gdi+ GdiplusStartupInput m_gdi 阅读全文
posted @ 2011-03-27 01:17 kangwang1988 阅读(558) 评论(0) 推荐(0) 编辑