Groups | Blog | Home
all groups > dotnet clr > october 2004 >

dotnet clr : programmatically setting file version


Nadav
10/6/2004 8:01:02 AM
Hi,

I have a collection of files needed their version to be set, This should be
done programmatically, I wonder... is there any existing API that enable
modification/addition of version to an existing binary?

It is possible to parse the '.rsrc' section manually, however, I am trying
to avoid this, any samples, pointers or advice would be appreciated.
--
Nadav
http://www.ddevel.com

Mattias Sjögren
10/6/2004 9:49:58 PM

[quoted text, click to view]

You should look at the *UpdateResource family of Win32 APIs

http://msdn.microsoft.com/library/en-us/winui/WinUI/WindowsUserInterface/Resources/IntroductiontoResources/ResourceReference/ResourceFunctions/BeginUpdateResource.asp



Mattias

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
AddThis Social Bookmark Button