sorry bitte schön
uses
SysUtils,
Classes;
{$R *.res}
procedure DLLSetButton;
begin
Form1.Button1.Caption := 'Wurde aus
DLL geladen';
end;
exports
DLLSetButton;
begin
end.
und im Hauptprog:
const
dllname = 'Test.dll';
procedure DLLSetButton stdcall; external dllname;