大浪淘沙

大浪淘沙,吹尽狂沙始到金!

博客园 首页 新随笔 联系 订阅 管理
  14 Posts :: 0 Stories :: 48 Comments :: 2 Trackbacks

公告

11 2004 档案

摘要: Visual C++开发com 应用用Visual C++开发Com主要包括用win32 SDK开发com,MFC类库开发com和使用ATL模板库开发com。使用win32 SDK开发com,非常灵活,但是开发的效率比较低,需要编写大量的代码。使用MFC类库开发com可以大大简化代码。ATL主要侧重于Com应用的开发,适用于建立小型、快捷的com组件。1、win32 SDK开发comwin32 S...阅读全文
posted @ 2004-11-28 15:55 大浪淘沙 阅读(1026) | 评论 (0) 编辑

摘要: //逆序排列字符串CString CMultiLineToolTipInControlDlg::ArrangeCString(char *string){ long lStringLen; lStringLen = strlen(string); char *string2; string2 = (char *)malloc(lStringLen);...阅读全文
posted @ 2004-11-26 10:42 大浪淘沙 阅读(1080) | 评论 (0) 编辑

摘要:  CString strWorkAreaPath; char path[MAX_PATH]; strcpy(path,"E:\\文件夹");  SetCurrentDirectory(_T("C:\\")); strWorkAreaPath = path;  strWorkAre...阅读全文
posted @ 2004-11-08 22:23 大浪淘沙 阅读(1447) | 评论 (1) 编辑

摘要:  double f1 = 7.9; double f2 = 7.4; double f3 = -7.1; double f4 = -7.6; double y; y = floor(f1);//    y = floor(f2); y = floor(f3); y = floor(f4);阅读全文
posted @ 2004-11-08 22:18 大浪淘沙 阅读(744) | 评论 (0) 编辑

摘要:  HDC       hScrDC;       // 屏幕和内存设备描述表 int       xScrn, yScrn;      &#...阅读全文
posted @ 2004-11-08 22:13 大浪淘沙 阅读(3904) | 评论 (1) 编辑