#1 2023-06-07 14:04:17

lfyey121
Member
From: china
Registered: 2022-08-25
Posts: 58

Error 'file not found "fastmm4.dcu" in delphi7 using mormot2

An error message was displayed for the mormot2Tests project. The test program could not be executed.
Does mormot2 not support delphi7?

Offline

#2 2023-06-07 15:16:14

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

Re: Error 'file not found "fastmm4.dcu" in delphi7 using mormot2

lfyey121 wrote:

Does mormot2 not support delphi7?

As described in the documentation: "Note that before Delphi 2006, you will need to download and install FastMM4 heap memory manager".

With best regards
Thomas

Offline

#3 2023-06-08 02:18:31

lfyey121
Member
From: china
Registered: 2022-08-25
Posts: 58

Re: Error 'file not found "fastmm4.dcu" in delphi7 using mormot2

Thank you for your reply.

I have downloaded and installed fastmm4, but an error occurred while running the test program.

In the unit “test. core. Data " line 820, in TTestCoreProcess. MustacheRenderer procedure, an error occurred when calling httpGet, prompt:winhttp. DLL error 2EE7 .

Offline

#4 2023-06-08 06:34:43

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

Re: Error 'file not found "fastmm4.dcu" in delphi7 using mormot2

I am not able to reproduce here.

Which version of Windows are you using?

Offline

#5 2023-06-08 09:21:54

lfyey121
Member
From: china
Registered: 2022-08-25
Posts: 58

Re: Error 'file not found "fastmm4.dcu" in delphi7 using mormot2

I am using Windows 7 32-bit +delphi7 on an old machine

Offline

#6 2023-06-08 09:29:05

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

Re: Error 'file not found "fastmm4.dcu" in delphi7 using mormot2

My guess is that your Windows 7 server certificates list is deprecated so the test project is not able to download the needed JSON reference material using HTTPS.

Either update the HTTPS certificates list of the system, or retrieve the *.json files from another regression tests runs, on a more recent Windows revision.
The HTTPS layer of Windows 7 is clearly deprecated.

Offline

#7 2023-06-08 13:14:07

lfyey121
Member
From: china
Registered: 2022-08-25
Posts: 58

Re: Error 'file not found "fastmm4.dcu" in delphi7 using mormot2

Thank you for your reply.


That may be so.

I just have an old project that needs to add some functionality, and I want to use a small part of mormot2's functionality, the wrong part should be left alone. Now delphi7 is rarely used, now using fpc.

Offline

Board footer

Powered by FluxBB