TC Plugins Manager
Moderators: Hacker, petermad, Stefan2, white
Re: TC Plugins Manager
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
Re: TC Plugins Manager
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
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
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror