摘要: void ImageFromIDResource(CImage& image, UINT nID, LPCTSTR lpType) { HINSTANCE hInst = g_hInst; HRSRC hRsrc = ::FindResource (hInst,MAKEINTRESOURCE(nID),lpType); if(hRsrc == NULL) return; DWORD dwLen = SizeofResource(hInst, hRsrc); BYTE* lpRsrc = (BYTE*)LoadResour... 阅读全文
posted @ 2012-04-27 12:35 likebeta 阅读(2675) 评论(0) 推荐(0) 编辑