Sorry for double topic but I can't delete topic in wrong category. I cant use COM, because I need to use old version of Lazarus (without ActiveX).
In my code I declare procedure in static way:
var
Form1: TForm1;
procedure createdotnetadder(out instance:IDotNetAdder); stdcall external 'DelphiNETstd.dll' name 'createdotnetadder';
implementation
{ TForm1 }
When I try to do it dynammicaly nothing work, only more problems. I don't understand that Delphi do it perfectly, but Lazarus not. In attachments I put .dll file and my pas unit. I don't asking about do it for me but to show me the way