当ADO开始处理数据后,应用程序必须等到ADO处理完毕之后才可以继续执行。但是除了同步执行方式之外,ADO也提供了异步执行的方式,允许当ADO处理时,应用程序仍然能够先继续执行。而当ADO处理数据完毕之后,ADO会以事件的方式通知应用程序,此时应用程序可以再根据ADO执行的结果来采取相应的动作。使用 Read More
posted @ 2015-08-21 18:16
findumars
Views(3245)
Comments(0)
Diggs(0)
function ExecShowModal(APath: PChar; ACmdShow: Integer; ATimeout: Longword): Integer;var vStartupInfo: TStartupInfo; vProcessInfo: TProcessInformati... Read More
posted @ 2015-08-21 18:13
findumars
Views(450)
Comments(0)
Diggs(0)
在VCL中,关闭程序的主窗体也就意味着程序的主循环结束,主程序自然而然结束。所以在主窗体中使用窗体的关闭函数(Close)即可,如下: procedure TfrmMain.btncloseClick(Sender: TObject); begin Close; end; 在FMX中,由Activi Read More
posted @ 2015-08-21 18:11
findumars
Views(792)
Comments(0)
Diggs(0)
{== D6DLLSynchronizer =================================================}{: This unit handles the D6 synchronize problem in DLLs@author Dr. Peter Below... Read More
posted @ 2015-08-21 18:05
findumars
Views(517)
Comments(0)
Diggs(0)
unit Unit2; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ImgList, ExtCtrls; type TForm2 = class( Read More
posted @ 2015-08-21 18:02
findumars
Views(466)
Comments(0)
Diggs(0)