04-23-2021, 01:43 PM
Thanks, but the problem is on compile time - not run time.
I will probably need to create a handler class.
This is a delphi Example but i can't figue out how to do it in c++
procedure TIWForm1.IWAppFormCreate(Sender: TObject);
begin
RegisterCallBack('myAjaxFunc',
procedure (aParams: TStrings)
begin
WebApplication.ShowMessage('this is an anonymous method used as a callback');
end
);
end;
I will probably need to create a handler class.
This is a delphi Example but i can't figue out how to do it in c++
procedure TIWForm1.IWAppFormCreate(Sender: TObject);
begin
RegisterCallBack('myAjaxFunc',
procedure (aParams: TStrings)
begin
WebApplication.ShowMessage('this is an anonymous method used as a callback');
end
);
end;