Solved

Version information

Posted on 2006-11-24
3
178 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
  • 2
3 Comments
 
LVL 6

Expert Comment

by:My name is Mud
Comment Utility
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
Comment Utility
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
Comment Utility
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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
change the mouse cursor 1 999
TClientSocket.SendStream is slow... 2 945
delphi 8 615
Delphi TClientDataSet - override Refresh event 4 747
This article explains in simple steps how to renew expiring Exchange Server Internal Transport Certificate.
This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

744 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now