Get exe File version, icon etc programmatically
-
Hi folks.. Is there a way to read an exe file's version info, icon etc programatically using C/C++ ? e.g How do we read notepad.exe's version info via C/C++ calls? thanks in advance..
-
Hi folks.. Is there a way to read an exe file's version info, icon etc programatically using C/C++ ? e.g How do we read notepad.exe's version info via C/C++ calls? thanks in advance..
munawar1968 wrote: exe file's version info
GetFileVersionInfo
munawar1968 wrote: iconExtractIcon
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta
-
munawar1968 wrote: exe file's version info
GetFileVersionInfo
munawar1968 wrote: iconExtractIcon
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta
Thanks man.. can this info (gathered via getfileversion,extracticon) be used to set the version /icon of another exe file programmatically?
-
Thanks man.. can this info (gathered via getfileversion,extracticon) be used to set the version /icon of another exe file programmatically?
munawar1968 wrote: another exe file programmatically? Nope, you have to use these api for Programmatically changing resource in other file :- BeginUpdateResource,UpdateResource and EndUpdateResource. And Here is article relating to above Api's http://www.codeproject.com/cpp/UpdateResource.asp[^]
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta
-
munawar1968 wrote: another exe file programmatically? Nope, you have to use these api for Programmatically changing resource in other file :- BeginUpdateResource,UpdateResource and EndUpdateResource. And Here is article relating to above Api's http://www.codeproject.com/cpp/UpdateResource.asp[^]
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta
Exactly what i wanted... thanks a million