#1 2018-08-25 10:34:31

edwinsn
Member
Registered: 2010-07-02
Posts: 1,215

[Fixed] Expose the version number for mORMot and SQLite

Hello ab,

How about expose publicly the version number of both mORMot itself and SQLite engine? That can be very helpful to show in, for example, the log file or the program's About window.

PS, currently I can see the EXPECTED_SQLITE3_VERSION constant in SynSQLite3Static.pas but it's only visible in the unit scope.

Thanks.

Last edited by edwinsn (2018-08-26 08:04:31)


Delphi XE4 Pro on Windows 7 64bit.
Lazarus trunk built with fpcupdelux on Windows with cross-compile for Linux 64bit.

Offline

#2 2018-08-25 13:27:43

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

Re: [Fixed] Expose the version number for mORMot and SQLite

You have

- SYNOPSE_FRAMEWORK_VERSION constant in SynCommons.pas
- sqlite3.Version method

Offline

#3 2018-08-25 15:54:24

edwinsn
Member
Registered: 2010-07-02
Posts: 1,215

Re: [Fixed] Expose the version number for mORMot and SQLite

Great! Thanks!


Delphi XE4 Pro on Windows 7 64bit.
Lazarus trunk built with fpcupdelux on Windows with cross-compile for Linux 64bit.

Offline

Board footer

Powered by FluxBB