Re: Updating file version number using UpdateResource
- From: "Thorsten Albers" <albersRE@xxxxxxxxxxxxxxxxxxx>
- Date: Fri, 04 Jul 2008 04:28:58 -0700
google@xxxxxxxxxxxxxxxx schrieb im Beitrag
<f6edc302-9add-4079-8790-8318ab3ceded@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>...
When declaring an array in VB6 the number indicates the upper bound of
the array not the number of items in the array like most other
languages. Since VB6 defaults to a lower bound of 0 this is in fact a
correct declaration (not nonsense!).
Sorry, that was my fault caused by the fact that currently I am working
with C more often than with VB.
If you look carefully where I'm updating the file and product numbers
you'll see that I am using offsets of 48 and 56 repectively, I've just
placed them in order of Major, Minor, Build and Revision instead of
the order they appear in the data.
Sorry, again my fault. In each case I have looked only at the first line
following the comment...
I'm not sure about the language, some examples I've found use language
neutral and others US English.
Get yourself a good resource viewer/editor, open the executable, and check
the version info resource. A good one IMHO is Resource Hacker written by
Angus Johnson from
http://www.angusj.com/resourcehacker/
In addition: In another newsgroup there were reported problems with
UpdateResource() on MS Windows Vista...
--
----------------------------------------------------------------------
Thorsten Albers albers(a)uni-freiburg.de
----------------------------------------------------------------------
.
- References:
- Updating file version number using UpdateResource
- From: google
- Re: Updating file version number using UpdateResource
- From: Thorsten Albers
- Re: Updating file version number using UpdateResource
- From: google
- Updating file version number using UpdateResource
- Prev by Date: Re: Updating file version number using UpdateResource
- Next by Date: Re: Computer Name of Remote Desktop
- Previous by thread: Re: Updating file version number using UpdateResource
- Next by thread: Re: Computer Name of Remote Desktop
- Index(es):
Relevant Pages
|
Loading