Solved

Version information

Posted on 2006-11-24
3
184 Views
Last Modified: 2010-04-16
Hi all,
Can we set version information in EXE made of a pascal programme same as we make version controlled build of delphi programme using Project->options->Version Info ?

Regards
Sjan
0
Comment
Question by:Asmitagoyal
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 6

Expert Comment

by:My name is Mud
ID: 18007920
Not quite like it... but you can make it like an option like MyExe.exe /v or -v or -version
0
 
LVL 6

Accepted Solution

by:
My name is Mud earned 100 total points
ID: 18007971
Const
  Version='3.45';
Var
  I: byte;
begin
  if ParamCount <> 0 then
    For I:=1 to ParamCount do
      Begin
        If (ParamStr(I) = '-v') or
           (ParamStr(I) = '/v') or
           (ParamStr(I) = '-version') or
           (ParamStr(I) = '/version') then
          WriteLn('Version n°: ',version)
      End
end.
0
 
LVL 9

Expert Comment

by:alkisg
ID: 18015622
Which version of Pascal? If it generates command line (32-bit) programs, you can.
E.g. see the version info of C:\Windows\System32\Arp.exe.
If it generates DOS-only programs (16-bit), it'll be very difficult...
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Positioning and setting color of buttons on a Firemonkey form 12 2,220
How do you invoke TCharHelper 1 2,052
qrdesign delphi 5 pdf 5 477
Lazarus and Excel formulas via OLE 7 345
When the s#!t hits the fan, you don’t have time to look up who’s on call, draft emails, call collaborators, or send text messages. An instant chat window is definitely the way to go, especially one like HipChat. HipChat is a true business app. An…
An introduction to the wonderful sport of Scam Baiting.  Learn how to help fight scammers by beating them at their own game. This great pass time helps the world, while providing an endless source of entertainment. Enjoy!
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question