πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Get the version of a Windows program

#7736
From: Regis St-Gelais
Date: Thu, 23 Dec 2004 12:53
20 lines
1316 bytes
"Patrick Wong" <patrickwong@computer.org> a οΏ½crit dans le message de news: 
41ca8854@newsgroups.borland.com...
> Dear all,
>
> Is there a way to retrieve the current version of a Windows GUI program?
>
> You advice is greatly appreciated.
>
> Thanks,
> Patrick
>

You need to use those APIs:
GetFileVersionInfoSize
GetFileVersionInfo
VerQueryValue

-- 
Regis St-Gelais
www.laubrass.com 
Technical Details
Message-ID: <41cabfd5@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newsread.com!newsprint.newsread.com!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <41ca8854@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,a625cdab5de476e6
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII
From: "Regis St-Gelais" <regis.st-gelais@NOSPAMlaubrass.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <41ca8854@newsgroups.borland.com>
Subject: Re: Get the version of a Windows program
Date: Thu, 23 Dec 2004 07:53:39 -0500
Lines: 22
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 24.201.156.148
Message-ID: <41cabfd5@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1103806421 24.201.156.148 (23 Dec 2004 04:53:41 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newsread.com!newsprint.newsread.com!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail