Archived issue #0021679
Add VERSIONINFO data to OCCT and Product binaries
Description
It would be useful to improve building procedures of OCCT and products on
Windows platform so as to add version information, which is commonly adopted on
Windows. This information is defined using Windows resource file and contains
copyright statement, name and version of the product and particular library in
it. The user can view this information by right-clicking on the binary (dll or
exe), and choosing Properties -> Details.
This can be implemented by defining single resource file containing all
necessary definitions, and adding it to the sources linked with dll or exe.
(Probably better ways of implementing the same exist -- to be investigated.)
The example of such resource file used in WSP application is attached.
This file is compiled by MS resource compiler (rc.exe, with only options
indicating path to necessary include directories), producing file .res, which
is then linked into the binary. Note that version of the software is taken from
header file -- the same can be done for OCCT.
Note also that besides version info, the same resource file defines also
default application icon which is shown when binary file is listed in explorer.
This can be useful for OCCT too.
Windows platform so as to add version information, which is commonly adopted on
Windows. This information is defined using Windows resource file and contains
copyright statement, name and version of the product and particular library in
it. The user can view this information by right-clicking on the binary (dll or
exe), and choosing Properties -> Details.
This can be implemented by defining single resource file containing all
necessary definitions, and adding it to the sources linked with dll or exe.
(Probably better ways of implementing the same exist -- to be investigated.)
The example of such resource file used in WSP application is attached.
This file is compiled by MS resource compiler (rc.exe, with only options
indicating path to necessary include directories), producing file .res, which
is then linked into the binary. Note that version of the software is taken from
header file -- the same can be done for OCCT.
Note also that besides version info, the same resource file defines also
default application icon which is shown when binary file is listed in explorer.
This can be useful for OCCT too.
Public activity
2 archived notes
Participants are labeled by their role within this record.
I suppose this has been implemented in OCCT 6.5.3, please confirm and close the issue
Dear Commenter 1,
please close this bug.
please close this bug.