ddablib / vibin

Library code for reading and writing Windows binary version information

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add property to `TVIBinResource` to expose resource type

delphidabbler opened this issue · comments

New property:

property ResourceType: TVIBinResourceType read fVerResType;

Could rename fVerResType field as fResourceType.

No other coding would be required.

Is ResourceType the correct name. The actual resource type, per Windows, is always RT_VERSION. Surely this property is informing of the resource format, either Ansi or Unicode, so wouldn't ResourceFormat be a better name? Alternatively how about ResourceEncoding?