C++交流群: 302558294(欢迎你的加入) 原文地址:http://blog.csdn.net/jiadebin890724/article/details/7951461#comments ,感谢原作者总结分享 首先要明确: 1、每个析构函数(不加 virtual) 只负责清除自己的成员。 Read More
posted @ 2016-08-27 20:10
findumars
Views(456)
Comments(0)
Diggs(0)
注意:本次实现线程的暂停执行主要采用互斥量的方法,如果有更好的实现方法的小伙伴可以在下面留言! 直接插入代码了,由于做的小demo,代码写的可能有点乱,但还算完整。 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 2 Read More
posted @ 2016-08-27 16:42
findumars
Views(7127)
Comments(0)
Diggs(0)
dddd Read More
posted @ 2016-08-27 14:45
findumars
Views(298)
Comments(0)
Diggs(0)
[Delphi]检查URL是否有效的函数 [Delphi]检查URL是否有效的函数 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 function CheckUrl(url: string): boolean; var Read More
posted @ 2016-08-27 14:36
findumars
Views(505)
Comments(0)
Diggs(0)
Linux上使用Qt Creator进行C/C++开发http://my.oschina.net/eechen/blog/166969Qt Creator GDB调试前端(调试Nginx):http://static.oschina.net/uploads/space/2014/0217/02514 Read More
posted @ 2016-08-27 14:30
findumars
Views(1920)
Comments(0)
Diggs(0)
作者:深圳虫 来自:深圳虫网本文来自http://www.szbug.com/disparticle.aspID=4一、 为什么写这篇东西自己在使用BCB5写一些程序时需要检查很多东西,例如内存泄漏、资源是否有释放等等,在使用了很多工具后,发觉BCB5本身自带的工具--CodeGuard,非常不错, Read More
posted @ 2016-08-27 04:04
findumars
Views(1312)
Comments(0)
Diggs(0)
http://topic.csdn.net/t/20031023/09/2385627.html 我创建了一个动态库,库中实现了对Socket(TCP、UDP)的封装,其中使用了BCB的TClientSocket,当使用该ClientSocket去连接一个并不存在的服务器时必然导致会ESocketE Read More
posted @ 2016-08-27 04:03
findumars
Views(594)
Comments(0)
Diggs(0)
http://blog.csdn.net/bichenggui/article/details/4774457 获得进程可执行文件的路径: GetModuleFileNameEx, GetProcessImageFileName, QueryFullProcessImageName 2009-11- Read More
posted @ 2016-08-27 04:02
findumars
Views(2056)
Comments(0)
Diggs(0)
http://www.codeproject.com/Articles/16362/Bring-your-frame-window-a-shadow http://www.codeproject.com/Articles/19213/An-Alpha-Channel-Composited-Windo Read More
posted @ 2016-08-27 04:01
findumars
Views(344)
Comments(0)
Diggs(0)
Creates a new process and its primary thread. Then the new process runs the specified executable file in the security context of the specified credent Read More
posted @ 2016-08-27 04:00
findumars
Views(1318)
Comments(0)
Diggs(0)
etErrorMode(SEM_NOGPFAULTERRORBOX); 去除错误对话框. http://www.cnblogs.com/-clq/archive/2012/01/22/2328783.html Read More
posted @ 2016-08-27 03:58
findumars
Views(476)
Comments(0)
Diggs(0)
其实只要新建一个包,然后把 d7 中的包包含的 pas 文件也包含进去就行了. 同时它会把对应的 bpi 文件也自动包含. 对于 bcb6 中没有的 PosEx 函数可以这样处理,把 d7 中的实现复制到一个新 pas 文件中,然后用条件编译就行了,另外对于查找 pas 的路径,要设置在 lib 搜 Read More
posted @ 2016-08-27 03:57
findumars
Views(991)
Comments(0)
Diggs(0)
http://blog.csdn.net/lanmanck/article/details/5722050 找了比较久,这个强人写的,很佩服,贴出来共享: http://hi.baidu.com/wjg750926/blog/item/4046a84ab171d92b08f7ef27.html 一些 Read More
posted @ 2016-08-27 03:56
findumars
Views(374)
Comments(0)
Diggs(0)
http://ljz9425.blog.163.com/blog/static/369148572008111635253858/Delphi下的RTTI(下)2008-12-16 15:52:53| 分类: Delphi |字号 订阅目 录 ⊙ GetTypeData 函数⊙ GetPropInf Read More
posted @ 2016-08-27 03:54
findumars
Views(1479)
Comments(0)
Diggs(0)
http://www.appinn.com/blue-screen-search-code/ 蓝屏代码查询器 – 找出蓝屏的元凶 11 文章标签: windows / 系统 / 蓝屏. 蓝屏代码查询器可以帮你查出引起蓝屏的故障原因并可以到微软知识库中查询解决方案,和之前的 BlueScreenVie Read More
posted @ 2016-08-27 03:51
findumars
Views(2319)
Comments(0)
Diggs(0)
http://www.birdol.com/article/tag/delphi 编译指令写在哪?: 编译指令可以写在代码页的任何地方, 不过在代码的不同区域有时也会不同;譬如: {$APPTYPE GUI} 和 {$APPTYPE CONSOLE} 就只能写在工程文件里才有效.{$APPTYPE Read More
posted @ 2016-08-27 03:39
findumars
Views(304)
Comments(0)
Diggs(0)
http://hi.baidu.com/xbbsh/blog/item/b73d3125462201084c088db1.html MFC任务管理器task manager 进程的挂起与恢复--NtSuspendProcess&&NtResumeProcess 2009-08-11 1:13 .h Read More
posted @ 2016-08-27 03:38
findumars
Views(1154)
Comments(0)
Diggs(0)
今天,我们主要讨论的是一个函数NtQuerySystemInformation(ZwQuerySystemInformation)。当然,你不要小看这么一个函数,它却为我们提供了丰富的系统信息,同时还包括对某些信息的控制和设置。以下是这个函数的原型: typedef NTSTATUS (__stdc Read More
posted @ 2016-08-27 03:36
findumars
Views(6932)
Comments(0)
Diggs(0)
http://www.pudn.com/downloads171/sourcecode/windows/detail791686.html unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graph Read More
posted @ 2016-08-27 03:32
findumars
Views(1799)
Comments(0)
Diggs(0)
sqlite 的比较等运算是根据不同的值而不同的,并不是根据的字段类型,因为 sqlite 是弱类型字段 http://www.sqlite.com.cn/MySqlite/5/127.Html 在SQLite3.0版中,值被定义为什么类型只和值自身有关,和列没有关系,和变量也没有关系. (这有时被 Read More
posted @ 2016-08-27 03:28
findumars
Views(851)
Comments(0)
Diggs(0)
http://topic.csdn.net/t/20020104/09/456913.html CM_MouseLeave消息好象不太灵敏,当鼠标快速移出窗体时,就收不到这个消息,请问大家有什么好办法吗? #1楼 得分:0回复于:2002-01-04 09:32:23那就用上一级组件的CM_Mous Read More
posted @ 2016-08-27 03:27
findumars
Views(713)
Comments(0)
Diggs(0)
控件卸载: 1.选择 BCB 菜单 File→Close All (关闭所有文件) 选择BCB 菜单: Project→Options→Packages 在 Design Packages 列表里面选择要删除的控件 按 Remove 按钮删除控件 2.如果删除的控件的文件夹里面所有文件都不用了, 可 Read More
posted @ 2016-08-27 03:26
findumars
Views(791)
Comments(0)
Diggs(0)
嗯...老生常谈的话题, 不过系统的总结了一下, 找了个相对简单的实现方式, 可以方便的发送任何文字 参考另一片文章: http://www.cnblogs.com/-clq/archive/2011/10/01/2197047.html 直接贴代码: http://www.cnblogs.com/ Read More
posted @ 2016-08-27 03:25
findumars
Views(2602)
Comments(0)
Diggs(0)
非主窗体在任务栏显示按钮 type TForm2 = class(TForm) private { Private declarations } public { Public declarations } procedure CreateParams(var Params:TCreateParam Read More
posted @ 2016-08-27 03:23
findumars
Views(418)
Comments(0)
Diggs(0)
一般我们不想让窗体能够关闭, 首先想到的是在OnCloseQuery事件里设置CanClose := False, 不过在某些情况下这个会和程序关闭窗体的业务逻辑产生冲突 所以写了下面这个函数, 可以设置窗体上的部分控制按钮禁用和启用, 仅仅是按钮显示及对鼠标键盘的响应, 按钮功能方面不影响 htt Read More
posted @ 2016-08-27 03:18
findumars
Views(1314)
Comments(0)
Diggs(0)
使用delphi的XML处理单元 XMLDoc XMLIntf 在获取XML文本内容的时候, 高版本的Delphi会丢失编码描述....在D7上却是正常的, 下面是测试源码: 下面是同样的代码分别在Delphi7 和Delphi2010的执行效果 对比可以发现, XML.Text和SaveToXML Read More
posted @ 2016-08-27 03:14
findumars
Views(876)
Comments(0)
Diggs(0)
参考一些网上资料, 然后自己改了改......主要是为自己写的一个监视活动进程工具用的, 有需要可以参考参考 http://www.cnblogs.com/hs-kill/p/4702571.html Read More
posted @ 2016-08-27 03:09
findumars
Views(579)
Comments(0)
Diggs(0)
主要是觉得在单输入的情况下, 原来InputQuery输入框左边的文本太难看了...... http://www.cnblogs.com/hs-kill/p/4707744.html Read More
posted @ 2016-08-27 03:07
findumars
Views(702)
Comments(0)
Diggs(0)
要求Delphi2007或者更高版本, 系统要求至少XP-SP2以上 实际上是利用了Windows的windowscodecs.dll这个文件的功能 在VCL里已经封装为TWICImage类 用这个类还可以做更多图像效果, 比如反转, 或者格式转化什么的 http://www.cnblogs.com Read More
posted @ 2016-08-27 03:02
findumars
Views(789)
Comments(0)
Diggs(0)
这2天在写一个工作统计的小东西, 设计思路是创建一个只有托盘图标的程序, 无主窗体, 唯一查看窗体都是动态创建关闭销毁的 使用Delphi自带的TrayIcon控件在DataModule里创建托盘, 由于没有主窗体, 所以设置Application.MainFormOnTaskbar := Fals Read More
posted @ 2016-08-27 03:01
findumars
Views(887)
Comments(0)
Diggs(0)
不多说了 直接上代码........有任何问题请给我邮件.... http://www.cnblogs.com/hs-kill/p/4603012.html Read More
posted @ 2016-08-27 02:59
findumars
Views(1244)
Comments(1)
Diggs(0)

浙公网安备 33010602011771号