////////////////////////////////////////////////////////////////////// // PictureEx.cpp: implementation of the CPicture class. // // Picture displaying control with support for the following formats: // GIF (including animated GIF87a and GIF89a), JP
C++ 下大winzip非常不错 HZIP g_pZip; g_pZip=OpenZip(_T("Package.zip"),0); if (g_pZip) { ZIPENTRY ze; GetZipItem(g_pZip,-1,&ze); int j; FindZipItem(g_pZip,L"ddd/AD_Lingguan_huanjing",true,&j,&ze); HGLOBAL hGlobal = GlobalAlloc(GMEM_MOVEABLE, ze.unc_size); v
大家看看,BOOL Hough(HWND hWnd) { //定义直线结构 typedef struct{ int topx; int topy; int botx; int boty; }MYLINE; //内存 DWORD BufSize; //文件信息头指针 LPBITMAPINFOHEADER lpImgData; //数据区指针 LPSTR lpPtr; HDC hDc; LONG x,y; long i,maxd; int k; int Dist,Alpha; //定义了一个全局句