🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #7444

Re: how to know the version of a executable file

#7444
From: Remy Lebeau (TeamB)
Date: Sun, 30 Jan 2005 13:26
10 lines
1113 bytes
"zhan wei ming" <zhanweiming@hotmail.com> wrote in message
news:41fcaf33@newsgroups.borland.com...

> how can I know (using code) the version of one executable file?

Look at GetFileVersionInfoSize(), GetFileVersionInfo(), and VerQueryValue().


Gambit
Technical Details
Message-ID: <41fce224@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <41fcaf33@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,ef3e8d83c1375a38
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <41fcaf33@newsgroups.borland.com>
Subject: Re: how to know the version of a executable file
Date: Sun, 30 Jan 2005 05:26:51 -0800
Lines: 12
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <41fce224@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1107092004 68.69.17.41 (30 Jan 2005 05:33:24 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail