存档

‘delphi’ 分类的存档

Delphi开发中几种代码复用方式及其比较

2008年3月26日 没有评论 2,577 次阅读

我们在软件开发中,经常会碰到多处代码相同或相似的地方,如何处理这种情况,不仅对个人,而且对于一个团队,是一个重要的问题。代码复用的作用也不仅是使得代码编写简单、减少工作量。本文只讨论在一个只使用delphi作为开发工具的团队如何有效的进行代码复用,如何在开发进度、软件维护之间取得平衡。这里以作者领导的一...阅读全文

分类: delphi 标签:

Using Semaphores in Delphi: The Connection Pool

2008年3月26日 没有评论 7,983 次阅读

Semaphores are like mutexes on steroids. Not only do they provide for blocking thread synchronization, but they permit two or more threads, up to some specified maximum number, to work concurrently with a shared resource. As a result, they are unlike most other synchronizati...阅读全文

分类: delphi 标签:

Delphi中Form和Frame的区别

2008年3月26日 没有评论 2,808 次阅读

A frame, like a form, is a container for other components. It uses the same ownership mechanism as forms for automatic instantiation and destruction of the components on it, and the same parent-child relationships for synchroniz...阅读全文

分类: delphi 标签:

windows server 2003中成功安装NT服务型DCOM应用服务器

2008年3月26日 没有评论 2,101 次阅读

{ Windows 2003 Server support. 阅读全文

分类: delphi 标签:

Ocx的手工注册和卸载

2008年3月3日 没有评论 2,539 次阅读

注册:RegSvr32.EXE Mp3Play.OCX 卸载:RegSvr32.EXE Mp3Play.OCX /u 阅读全文

分类: delphi 标签:

Dcom在服务器端的设置

2008年3月3日 没有评论 2,187 次阅读

假定我们编好的Delphi服务程序名称为Server。 2.1 在服2.2 务器上运行服2.3 务程序Server; 2.4 在命令行输入dcomcnfg,2.5 回车; 2.6 打开组件服2.7 务》计算机》我的电脑 ,2.8 在我的电脑上点击右键,2.9 在【COM安全】选项卡上的【访问权限】和【启动激活权限】增加everyone; 2.10 打开组件服2.11 务》计算机》我的...阅读全文

分类: delphi 标签:

提高ADO性能的优秀经验

2007年6月17日 没有评论 11,891 次阅读

109、提高ADO性能的优秀经验 一、概述   “性能”这一术语有着几种不同的、差异微妙的含义。当人们谈到某个东西性能多少好时,他们想要表达的意思可能就是在一定的时间之内它完成了多少工作。例如,一个性能好的发动机运行起来更稳定,产生的动力更强大。对于开发小组,你同样也可能应用这个判断标准:一个性能好的开...阅读全文

分类: delphi 标签:

深入Delphi编程

2007年6月17日 没有评论 2,923 次阅读

      这些控件被广泛使用,在国内,就作者所知,财智家庭理财软件使用了Diamond,而“追捕”(一个显示指定IP的地址位置的共享软件)使用了Halcyon。在使用这些第三方构件之后,软件终于可以“轻装上阵”,再也不用为BDE头疼了。   (2) 使用ADO。   在Delphi5中,Inprise终于提供了一个比较彻底的解决方法,那...阅读全文

分类: delphi 标签:

Delphi编译错误中文手册

2007年6月17日 没有评论 5,648 次阅读

******************************* * 编 译 错 误 信 息 * ******************************* ’;’ not allowed before ’ELSE’ ElSE前不允许有“;” ’’ clause not allowed in OLE automation section 在OLE自动区段不允许“”子句 ’’ is not a type identifier 不是类型标识符 ’’ not previously declared as a ...阅读全文

分类: delphi 标签:

Windows消息详解

2007年6月17日 没有评论 2,324 次阅读

消息本身是作为一个记录传递给应用程序的,这个记录中包含了消息的类型以及其他信息。例如, 对于单击鼠标所产生的消息来说,这个记录中包含了单击鼠标时的坐标。这个记录类型叫做T M s g,它 在Wi n d o w s单元中是这样声明的: t y p e TMsg = packed record hwnd: HWND; / /窗口句柄 message: UINT; / /消息常量标识...阅读全文

分类: delphi 标签: