6.0.57.993 under Delphi XE2 Update 4.
File > New > Other > RemObjects SDK > DLL Server
Wizard:
Create Matching Client App and Project group
Advanced Options
ProjectName, Service Library Name, Service Name: LicMBD
Message Clas: TROBinMessage
Build All
Brings Up Ancestor Type for LicMBD
Selected Simple Object
Added Button to fClientForm and in its event:
var
val : integer;
begin
val := (RORemoteService as ILicMBD).Sum(1,2);
ShowMessage(IntToStr(val));
end;
In the DLL Impl.pas file, modified Sum function:
function TLicMBD.Sum(const A: Integer; const B: Integer): Integer;
begin
result := A + B;
end;
After building all projects and running the client, when I click the button, I get a
"Cannot Locate" error dialog in the client.
So how can I make this work?