Solved

Version Number

Posted on 1998-10-30
3
141 Views
Last Modified: 2010-04-06
Hi all

I wonder how to get the version number of my prog, I
mean the number you can set in "project"-"compiler"-"versionInfo"

thanks

rene
0
Comment
Question by:rene100
  • 2
3 Comments
 
LVL 1

Accepted Solution

by:
jecksom earned 100 total points
ID: 1345019
Hi rene100!

BOOL GetFileVersionInfo(

    LPTSTR  lptstrFilename,      // pointer to filename string
    DWORD  dwHandle,      // ignored
    DWORD  dwLen,      // size of buffer
    LPVOID  lpData       // pointer to buffer to receive file-version info.
   );

Jecksom

0
 
LVL 1

Expert Comment

by:jecksom
ID: 1345020
PS :http://sunsite.icm.edu.pl/delphi/ftp/d40free/getver.zip - free with source , you
can most any file info with this fucntion.

Jecksom

0
 
LVL 2

Author Comment

by:rene100
ID: 1345021
finally, I had time to check it out and it works!

thanks

regards
rene
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

829 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