本文试着从分析Synchronize同步执行的实现机制入手,来解决DLL/ActiveForm中线程同步的问题。 线程中进行同步时调用的Synchronize函数,仅仅是把调用调用线程、调用方法地址、异常对象封装在一个同步结构中,然后调用处理同步结构的类方法Synchronize。 proced... Read More
posted @ 2015-08-18 17:40
findumars
Views(373)
Comments(0)
Diggs(0)
//浮雕procedure Emboss(SrcBmp,DestBmp:TBitmap;AzimuthChange:integer);overload;var i, j, Gray, Azimuthvalue, R, G, B: integer; SrcRGB, SrcRGB1, SrcRGB2, ... Read More
posted @ 2015-08-18 16:45
findumars
Views(1167)
Comments(0)
Diggs(0)
Borland Compiler Conditional DefinesEditTalk12,909PAGES ONTHIS WIKIProduct NameVersionConditional DefineCompilerVersionEmbarcadero RAD Studio XE620.0V... Read More
posted @ 2015-08-18 16:41
findumars
Views(437)
Comments(0)
Diggs(0)
1.冒泡排序 Delphi/Pascal code ? 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 procedure BubbleSort(var x:array of integer); var i,j,intTmp:integer; begin for Read More
posted @ 2015-08-18 16:38
findumars
Views(1732)
Comments(0)
Diggs(0)
在Delphi中使用Webbrowser加载百度地图时,点击了其它界面,再回到百度地图中,即使点击了鼠标,再用滚轮也不能缩 放地图,除非点地图里面的自带的控件,之后才能缩放,原因是因为其它窗体控件获得焦点后没还回给Webbrowser.目前的解决办法是在窗体上拖一个ApplicationEvents... Read More
posted @ 2015-08-18 16:30
findumars
Views(928)
Comments(0)
Diggs(0)