摘要: 准确的讲是mingw所用的sdk —— w32api,存在结构定义错误。打开wingdi.h 定位到 tagGCP_RESULTSW 的结构定义位置, typedef struct tagGCP_RESULTSW { DWORD lStructSize; LPWSTR lpOutString; UINT *lpOrder; int *lpDx; int *lpCaretPos; LPWSTR lpClass; //正确的类型应该是 LPSTR LPWSTR lpGlyphs; UINT nGlyphs; int nMaxFit; } GCP_RESULTSW,*LPGCP_RESULTSW;. 阅读全文
posted @ 2013-03-21 21:50 flyinghearts 阅读(747) 评论(0) 推荐(1) 编辑