2009年2月19日 星期四
多线程编程(19) - 不使用同步工具, 手动协调线程依次执行
万一| 万一的 Delphi 博客 |23:46:00
在前面例子的基础上, 探讨新问题.假如我们想让几个线程(例子中是 3 个)依次执行, 我们可以使用临界区、信号、互斥等手段;但下面第一个例子什么同步工具都没用, 也达到了目的; 方法是: 让前一个线程在结束前顺便启动下一个线程.第二个例子使用了互斥对象配合 WaitForS...
多线程编程(18) - 再从一个小例子出发
万一| 万一的 Delphi 博客 |21:17:00
前面的例子都是让若干线程做同样的事情, 下面这个例子中的三个线程将分别在三个画板上随机画不同颜色的椭圆.接下来的很多事情我想要基于这个例子来做.本例效果图:代码文件:unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics...
一个关于 absolute 关键字的小练习
万一| 万一的 Delphi 博客 |16:03:00
//例子中的三个变量让 absolute 都给弄到一块了, 这有时会很方便; 但我总也想不到用, 还是不熟. procedure TForm1.FormCreate(Sender: TObject); var num: Int64; pt: TPoint absolute num; arr: array[0..1] of Integer absolute pt; begin pt.X := 111; ...
多线程编程(17) - 多线程同步之 WaitableTimer (等待定时器对象)[续三]
万一| 万一的 Delphi 博客 |12:19:00
根据 WaitableTimer 的主要功用, 现在再把它放在 "线程同步" 的话题中讨论有点不合适了, 就要结束它.//重新看看那个 APC 回调函数的格式: procedure TimerAPCProc( lpArgToCompletionRoutine: Pointer; dwTimerLowValue, dwTimerHighValue: DWORD ); stdcall;Tim...
AlphaControls 2009 v6.13
CodeGear| CodeGear-CodeCentral Delphi |07:22:27
AlphaControls is an easy-to-use universal and powerful tool for developing original skinned and non-skinned business/media applications. We have also added some properties, which make AlphaControls (and the applications that use them) unique. - ...
Drag and drop operations with Delphi’s DBGrid
About.com| About.com Delphi Programming |02:00:51
Maximizing the DBGrid :: Dragging and dropping is a convenient way for users to manipulate data. You can let users drag an entire control, or let them drag items...
使用delphi制作自动登录的Windows终端服务客户端
扬帆| 扬帆Blog - Delphi |01:50:46
运行delphi-->Components-->Import Active Control,在列表中找到下面的Microsoft Terminal Services Active Client 1.0 Type Library (Version 1.0),点击install// 文档标题:使用delphi制作自动...





冀公网安备 13098202000212号