"Nadav" <Na***@discussions.microsoft.com> wrote in message
news:4B**********************************@microsof t.com...
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?
The version information is a resource:
http://msdn.microsoft.com/library/de...nformation.asp
The Win32 API includes BeginUpdateResource(), UpdateResource() and
EndUpdateResource() functions to update resources after a module has been
linked:
http://msdn.microsoft.com/library/de...gResources.asp
I haven't tried it, but you might be able to cook something using both
links.
There is no issue if the modules in question are yours, but there might be
intellectual property issues otherwise.
Regards,
Will