View Issue Details

IDProjectCategoryView StatusLast Update
0021679Open CASCADEOCCT:Codingpublic2013-02-28 18:00
ReporterabvAssigned Tobugmaster  
PrioritynormalSeverityfeature 
Status closedResolutionfixed 
PlatformWindowsOSAll 
Product Version6.3.1 
Target Version6.5.3Fixed in Version6.5.3 
Summary0021679: Add VERSIONINFO data to OCCT and Product binaries
DescriptionIt 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.
TagsNo tags attached.
Test case number

Attached Files

  • WSP.rc (1,872 bytes)

Activities

2010-04-14 19:33

 

WSP.rc (1,872 bytes)

abv

2012-10-24 11:33

manager   ~0021919

I suppose this has been implemented in OCCT 6.5.3, please confirm and close the issue

kgv

2013-02-28 12:07

developer   ~0023519

Dear Bugmaster,

please close this bug.

Issue History

Date Modified Username Field Change
2010-04-15 10:08 bugmaster Assigned To vtn => abv
2010-04-15 10:08 bugmaster Status new => assigned
2012-04-02 14:46 abv Fixed in Version EMPTY =>
2012-04-02 14:46 abv Description Updated
2012-04-02 14:48 abv Assigned To abv => kgv
2012-04-02 14:48 abv Product Version => 6.3.1
2012-04-02 14:48 abv Target Version => 6.5.3
2012-10-24 11:33 abv Note Added: 0021919
2012-10-24 11:33 abv Status assigned => feedback
2013-02-28 12:07 kgv Note Added: 0023519
2013-02-28 12:07 kgv Assigned To kgv => bugmaster
2013-02-28 12:07 kgv Platform => Windows
2013-02-28 18:00 bugmaster Status feedback => closed
2013-02-28 18:00 bugmaster Resolution open => fixed
2013-02-28 18:00 bugmaster Fixed in Version => 6.5.3
2014-01-11 11:58 abv Category OCCT Release:BUILD => OCCT:Coding