上一页 1 ··· 31 32 33 34 35 36 37 38 39 ··· 57 下一页

2018年2月13日

VC++ Splash Window封装类CSplash

摘要: Splash.h 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 阅读全文

posted @ 2018-02-13 15:50 我来乔23 阅读(589) 评论(0) 推荐(0)

通过代码注册COM、DLL组件

摘要: 注册代码如下: C++ Code 1234567891011121314151617181920212223242526272829303132333435363738 // // // //If returns Zero, DLL successfully registered... // -2  阅读全文

posted @ 2018-02-13 14:22 我来乔23 阅读(644) 评论(0) 推荐(0)

VC++:ActiveX Test Container

摘要: VC++6.0安装后包含了ActiveX Test Container工具,位置为: "C:\Program Files (x86)\Microsoft Visual Studio\Common\Tools\TSTCON32.EXE" 但是在VS2008以及VS2010中就不能明显地找到这个工具了~ 阅读全文

posted @ 2018-02-13 13:22 我来乔23 阅读(440) 评论(0) 推荐(0)

[转]VC++下使用ADO操作数据库

摘要: (1)、引入ADO类 1 2 3 #import "c:program filescommon filessystemadomsado15.dll" no_namespace rename ("EOF", "adoEOF") (2)、初始化COM 在MFC中可以用AfxOleInit();非MFC环 阅读全文

posted @ 2018-02-13 10:54 我来乔23 阅读(637) 评论(0) 推荐(0)

VC++ GetSafeHwnd()和GetSafeHandle()

摘要: GetSafeHwnd()和GetSafeHandle()的主要区别: 使用者不同: (1)窗体使用:GetSafeHwnd()用于获取窗体的安全句柄(即HWND),有了HWND我们就可以方便的对HWND指向的窗体进行所需的操作了; (2)GDI对象使用:GetSafeHandle(),用于获取GD 阅读全文

posted @ 2018-02-13 10:51 我来乔23 阅读(501) 评论(0) 推荐(0)

VC++ GetSafeHwnd用法

摘要: GetSafeHwnd HWND GetSafeHwnd() const; 当我们想得到一个窗口对象(CWnd的派生对象)指针的句柄(HWND)时,最安全的方法是使用GetSafeHwnd()函数。 为什么呢?通过下面的例子来说明其理由: CWnd* pWnd = FindWindow(_("Exp 阅读全文

posted @ 2018-02-13 10:44 我来乔23 阅读(1905) 评论(0) 推荐(0)

C++中的const成员函数(函数声明后加const,或称常量成员函数)用法详解

摘要: http://blog.csdn.net/gmstart/article/details/7046140 在C++的类定义里面,可以看到类似下面的定义: 01 class List { 02 private: 03 Node * p_head; 04 int length; 05 …… 06 Pub 阅读全文

posted @ 2018-02-13 10:36 我来乔23 阅读(5924) 评论(0) 推荐(1)

2018年2月12日

VC++ Debug条件断点使用

摘要: If you're trying to reproduce a rare event and getting too many false positives with your breakpoints, you can easily make them conditional! Simply sp 阅读全文

posted @ 2018-02-12 11:38 我来乔23 阅读(454) 评论(0) 推荐(0)

VC++为你的程序增加内存泄露检测

摘要: 使用方法: C++ Code 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 // MFCLeakerTest.cpp : Defines the  阅读全文

posted @ 2018-02-12 11:16 我来乔23 阅读(844) 评论(0) 推荐(0)

VC++ Debug格式化数值显示

摘要: When you watch variables in the Watch or Quick Watch window, the values are displayed using the default pre-defined visualizers. When it comes to numb 阅读全文

posted @ 2018-02-12 10:55 我来乔23 阅读(363) 评论(0) 推荐(0)

上一页 1 ··· 31 32 33 34 35 36 37 38 39 ··· 57 下一页

导航