#1 2025-09-01 11:39:31

koraycayiroglu
Member
Registered: 2017-02-03
Posts: 75

Executable.Version is empty?

Hi again,

As title said, version info is empty. Using Delphi 12.3, Windows 11 latest update, mormot2 latest commit. with PUREMORMOT2 and USEPACKAGES definitions uncommented.  Any ideas?

Best regards

Offline

#2 2025-09-01 12:50:38

vs
Member
Registered: 2019-10-21
Posts: 47

Re: Executable.Version is empty?

As described in the documentation - you need to call GetExecutableVersion to initialize its Version fields

https://github.com/synopse/mORMot2/blob … 1492-L1498

Offline

#3 2025-09-01 14:24:04

koraycayiroglu
Member
Registered: 2017-02-03
Posts: 75

Re: Executable.Version is empty?

oh, my bad. I thought it works as it did with mormot 1.18, never thought there will be a change like this. Ashamed of myself, usually i read everything but today is a very long day for me. So, sorry.

Last edited by koraycayiroglu (2025-09-01 14:35:44)

Offline

#4 2025-09-01 15:58:43

vs
Member
Registered: 2019-10-21
Posts: 47

Re: Executable.Version is empty?

Don't worry.
You're welcome!

Offline

#5 2025-09-02 23:04:27

vs
Member
Registered: 2019-10-21
Posts: 47

Re: Executable.Version is empty?

Allow me to expand on this topic a bit more )).
I decided to ask Copilot how it would respond to this question.
Below is the result. The link in Copilot's answer refers exact to this thread on the forum.

https://ibb.co/fRbBnLb
https://ibb.co/fRbBnLb

It’s a kind of loop — Copilot teaches us, we teach Copilot, and then Copilot teaches us again. smile
But it was Arnaud who taught us all first — with that excellent documentation!

Last edited by vs (2025-09-02 23:46:08)

Offline

#6 2025-09-04 09:17:20

koraycayiroglu
Member
Registered: 2017-02-03
Posts: 75

Re: Executable.Version is empty?

This is like, chicken or the egg dilemma big_smile

Offline

Board footer

Powered by FluxBB