Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works

Random project

AsyncProcList

View on GitHub

Anyone may press Interesting, signed in or not. It helps others find this project.

Member rating

No ratings yet.

Sign in to rate this project.

README

AsyncProcList

Пример:

pascal

uses dlAsyncProcList;

//Выполнение процедуры, без callback функции
AsyncProcList.Add(
  TAsyncObject.Create(
    procedure (out AData: Pointer)
    begin
      //code
    end,
    nil //callback proc
  );

//С использованием Windows Messages
AsyncProcList.Add(
  TAsyncObject.Create(
    procedure (out AData: Pointer)
    begin
      //code
    end,
    Handle,
    WM...)
);