В dll:
Код:
//procedure Starter(); stdcall;
procedure Starter(var Form1: TForm); stdcall;
В pas:
Код:
//procedure Starter();
procedure Starter(var Form1: TForm);
stdcall; external 'initial.dll';
//Starter();
Starter(Form1);
Вот и всё.
Не забудь в dll добавить в uses модуть Forms
С тебя +++
__________________
Оставайтесь хорошими людьми...
VK id2634397, ds [at] phoenix [dot] dj
|