🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Problem extracting version information from EXE

#3231
From: Kris
Date: Sun, 06 Aug 2006 14:10
28 lines
1884 bytes
On Sun, 06 Aug 2006 07:00:05 -0700, Bob Gonder
<notbg@notmindspring.invalid> wrote:

>Because you are tell it to do so?
>
>>      Form1->DText("FileVersion=[%s]",FileVersion);
>>
>>      Form1->DText("ProductVersion=[%s]",FileVersion);

Yes. That was a stupid mistake. However, it isn't the solution to the
problem.

A few lines earlies I printed following fields :

Form1->DText("dwFileVersionMS...=0x%08x",VersionInfo->dwFileVersionMS);
Form1->DText("dwFileVersionLS...=0x%08x",VersionInfo->dwFileVersionLS);
Form1->DText(" ");
Form1->DText("dwProductVersionMS=0x%08x",VersionInfo->dwProductVersionMS);
Form1->DText("dwProductVersionLS=0x%08x",VersionInfo->dwProductVersionLS);

Even though I'm clearly referring to the correct fields they also
report the same info for File and Product :

dwFileVersionMS...=0x0033003e
dwFileVersionLS...=0x00490055
 
dwProductVersionMS=0x0033003e
dwProductVersionLS=0x00490055
Technical Details
Message-ID: <fttbd2ds5pkmpr3rhs0u1f752m1g1vt9jr@4ax.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <23jbd29tqg0vjln1uve2kpjacpd4kkk4el@4ax.com> <3ctbd2hk67d553k3qto2c461sh0t1sedum@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,959957ffa3cd8000
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Kris <test@test.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Problem extracting version information from EXE
Date: Sun, 06 Aug 2006 16:10:43 +0200
Message-ID: <fttbd2ds5pkmpr3rhs0u1f752m1g1vt9jr@4ax.com>
References: <23jbd29tqg0vjln1uve2kpjacpd4kkk4el@4ax.com> <3ctbd2hk67d553k3qto2c461sh0t1sedum@4ax.com>
X-Newsreader: Forte Free Agent 3.3/32.846
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 83.134.84.165
X-Trace: newsgroups.borland.com 1154873428 83.134.84.165 (6 Aug 2006 07:10:28 -0700)
Lines: 28
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail