digitalmars.D - setting version
- matmunn14 (3/3) Mar 10 2009 When compiling my D program for Win32 I would like to set a version numb...
- Don (3/7) Mar 10 2009 Have you checked with a resource editor that the version resource is
- matmunn14 (2/10) Mar 10 2009 When I checked the executable properties with Windows it says nothing be...
- matmunn14 (2/10) Mar 10 2009 If I look at the file details in the properties windows it just has a bl...
When compiling my D program for Win32 I would like to set a version number in the executable so I call dmd.exe with -L/version:01.01. No messages appear so I assume everything worked alright but in my program I have message box popup with the following code. It's supposed to show the version number but always shows 0.0. auto temp = new Version; msgBox(temp.toString());
Mar 10 2009
matmunn14 wrote:When compiling my D program for Win32 I would like to set a version number in the executable so I call dmd.exe with -L/version:01.01. No messages appear so I assume everything worked alright but in my program I have message box popup with the following code. It's supposed to show the version number but always shows 0.0. auto temp = new Version; msgBox(temp.toString());Have you checked with a resource editor that the version resource is being set correctly? (BTW this post belongs in digitalmars.D.learn).
Mar 10 2009
Don Wrote:matmunn14 wrote:When I checked the executable properties with Windows it says nothing beside Product version.When compiling my D program for Win32 I would like to set a version number in the executable so I call dmd.exe with -L/version:01.01. No messages appear so I assume everything worked alright but in my program I have message box popup with the following code. It's supposed to show the version number but always shows 0.0. auto temp = new Version; msgBox(temp.toString());Have you checked with a resource editor that the version resource is being set correctly? (BTW this post belongs in digitalmars.D.learn).
Mar 10 2009
Don Wrote:matmunn14 wrote:If I look at the file details in the properties windows it just has a blank area next to Product version.When compiling my D program for Win32 I would like to set a version number in the executable so I call dmd.exe with -L/version:01.01. No messages appear so I assume everything worked alright but in my program I have message box popup with the following code. It's supposed to show the version number but always shows 0.0. auto temp = new Version; msgBox(temp.toString());Have you checked with a resource editor that the version resource is being set correctly? (BTW this post belongs in digitalmars.D.learn).
Mar 10 2009