Reputation:
Here is the Delphi code calling the C++/CLI DLL:
implementation
{$R *.DFM}
procedure CallMe(x: Integer); stdcall; external 'CppWrapper.dll';
procedure TForm1.Button1Click(Sender: TObject);
begin
CallMe(1);
end;
end.
After clicking the form button I get an exception.
Upvotes: 1
Views: 824