I just upgraded one of my projects from Delphi XE to XE7.The version info for 'All platforms/All configurations' global target (should I call it 'base'?) was copied correctly from the old project.
Company name: xxx
File version: 3.2.1 etc
However, when I checked the sub-targets (32 bit /release, 32 bit /debug, etc) they are all set to '. Tekken 6 free download for windows 10. So they don't copy/inherit the info from 'All platforms/All configurations'.
Company name: '
File version: 1.0.0 etc
How do I force the sub-targets to inherit from 'All platforms/All configurations'.
UPDATE: It seems to be a design issue with Delphi XE7. The sub-targets stay in sync as long as you DON'T edit them. A 'Sync sub-targets to main target' button is missing from that window. There is also a BUG close related to this (see my answer for details).
Rigel
RigelRigel
1 AnswerDelphi Compiler Versions
This is a bug in the IDE (Delphi XE7).
How to reproduce:
Solution:
Close the project in IDE. Open the DPROJ file in a text editor (not in IDE!) and deleted the entries containing the wrong version info, for ex. where VerInfo_MajorVer=1 instead of 2.
RigelRigel
Not the answer you're looking for? Browse other questions tagged delphidelphi-xe7 or ask your own question.
Want to obtain Delphi Application build number and post into title bar
Link WilsonLink Wilson
6 Answers
Here is how I do it. I put this in almost all of my small utilities:
MickMick
I most strongly recommend not to use GetFileVersion when you want to know the version of the executable that is currently running! I have two pretty good reasons to do this:
To load the version resource in Delphi I use code like this:
Stijn SandersStijn Sanders
Pass the full file name of your EXE to this function, and it will return a string like:2.1.5.9, or whatever your version # is.
After defining that, you can use it to set your form's caption like so:
JosephStyonsJosephStyons
Thanks to the posts above, I made my own library for this purpose.
I believe that it is a little bit more correct than all other solutions here, so I share it - feel free to reuse it..
Jiri KrivanekJiri Krivanek
From http://www.martinstoeckli.ch/delphi/delphi.html#AppVersion
With this function you can get the version of a file, which contains a version resource. This way you can display the version number of your application in an information dialog. To include a version resource to your Delphi application, set the 'Versioninfo' in the project options.
vIceBergvIceBerg
We do this for all our apps but we use a Raize component RzVersioninfo.works quite well just need to use the following code
Chitra All Time Hits - Vol 1 Songs Download - Listen to malayalam songs from Chitra All Time Hits - Vol 1 MP3 songs online free. Play Chitra All Time Hits - Vol 1 songs MP3. Download Chitra All Time Hits - Vol 1 songs from Raaga.com. 31 rows List of all Malayalam Movie Songs produced till date. Chitra malayalam songs list.
on form create
Caption := RzVersioninfo1.filedescripion + ': ' + RzVersionInfo1.FileVersion;
obviously if you don't want any of the other components from raize use one of the options above as there is a cost to the raize components.
LizHansonLizHanson
Not the answer you're looking for? Browse other questions tagged delphiversion or ask your own question.
In Delphi 2010, if I want to do this:
![]()
What version # do I need to use in place of '999'?
JosephStyonsJosephStyons
5 Answers
Red HazeRed Haze
Here's the list of compiler versions:
In Delphi 2007,
VER180 and VER185 are both defined. This was for backward compatibility with Delphi 2006, and to make sure you could also detect D2007 specifically.
Omnisphere 2 free download reddit. I'm not sure why they did that between '06 and '07, but not for other releases. Seems inconsistent to me (but it isn't - see Barry Kelly's comment below).
JosephStyonsJosephStyons
If you're working with Delphi 6 and later, you can use
CompilerVersion :
jasonpennyjasonpenny
Bruce McGeeBruce McGee
Along the same lines as Jason's comment if you are creating code that needs to run in current and older versions of Delphi you might want to do something like:
TheStevenTheSteven
protected by Community♦May 8 '11 at 17:04
Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead? Not the answer you're looking for? Browse other questions tagged delphidelphi-2010 or ask your own question.Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |