#1 2023-10-19 04:20:57

zybook
Member
Registered: 2021-04-12
Posts: 3

Why i can not compile the TestRestServer.dpr Project in D7?

D:\mORMot2\ex\ThirdPartyDemos\tbo\04-HttpServer-InterfaceServices

it shows the dcu file not found:  System.SysUtils.dcu

pls help,thanks.

Offline

#2 2023-10-19 06:16:28

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,356
Website

Re: Why i can not compile the TestRestServer.dpr Project in D7?

These third-party samples are not compatible with Delphi 7 I suppose.
It seems to be made for a more recent version of Delphi.

You can probably clean the code on your side.
And make a pull request.

Offline

#3 2023-10-19 11:22:52

tbo
Member
Registered: 2015-04-20
Posts: 340

Re: Why i can not compile the TestRestServer.dpr Project in D7?

The description says: "It should work with Delphi 10.2 or later". In my articles I do not explicitly pay attention to compatibility with older Delphi versions. The example uses TWebBrowser and probably cannot be adapted to older Delphi versions. Or you install an open source WebBrowser component for your version.

With best regards
Thomas

Offline

Board footer

Powered by FluxBB