2013年1月13日

摘要: 1 bool SaveBMP(HDC hdc, const tstring& filePath) 2 { 3 HBITMAP hbm = (HBITMAP)GetCurrentObject(hdc, OBJ_BITMAP); 4 assert(hbm); 5 return SaveBMP(hbm, filePath); 6 } 7 8 bool SaveBMP(HBITMAP hbm, const tstring& filePath) 9 {10 LPBYTE pBitmap = NULL;11 12 BITMAP bm = {0};13 a... 阅读全文
posted @ 2013-01-13 14:59 十二晨 阅读(381) 评论(0) 推荐(0)

2012年9月13日

摘要: 时间: 2012-6-26下边以编译mysql的驱动为例说明,其他的数据库,如firebird之类都可以使用这个方法来进行编译;1.安装qt for windows版本(包括源代码);要求有visual studio预先安装2.安装mysql的完整版本;要求要有lib,include3.启动该版本的qt(使用开始菜单里边的command line启动,因为该快捷方式包含的环境变量的设置)4.进入s... 阅读全文
posted @ 2012-09-13 10:42 十二晨 阅读(258) 评论(0) 推荐(0)

导航