TC Plugins Manager

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
megaboy2k
Junior Member
Junior Member
Posts: 5
Joined: 2021-10-25, 00:24 UTC

Re: TC Plugins Manager

Post by *megaboy2k »

Could someone suggest a way the Plugins Manager identifies a plugin version? I went through a couple of plugins source code but couldn't find any reference to such an ability in API
User avatar
Dalai
Power Member
Power Member
Posts: 9364
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: TC Plugins Manager

Post by *Dalai »

2megaboy2k
Pretty sure the easiest and straightforward way is to get the file version from the plugin file resources since that can be part of the PE header of any PE file (DLL, EXE or any other extension), namely VS_FIXEDFILEINFO and VarFileInfo/StringFileInfo. There's also a whole unit VersionInfo.pas in the Plugin Manager's source code.

Not sure that's the only way a plugin version is determined, but definitely the most likely one.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Post Reply