Library MyFirstDLL uses SysUtils Classes Form Windows procedure HelloW

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
Library MyFirstDLL
uses
SysUtils,
Classes,
Form,
Windows;
procedure HelloWorld(AForm: TForm);
begin
MessageBox(AForm.Hello world, 'HelloWorld!', M_OK or MB_ICONEXCLAMATION);
end;
exports
HelloWorld;
begin
End.