G
Guest
Hello,
I am currently working on a C++ project for a PocketPC with Windows
Mobile 5.0 in Visual Studio 2005. I am currently looking for a way to get
file version information, i.e. file version, product version, file modified
date, file creation date, etc. The only way I could find was using the
functions GetFileVersionInfoSize, GetFileVersionInfo, and then VerQueryValue,
but when I ran it, it gave me an error saying: "The specified resource name
cannot be found in the image file."
I noticed in the documentation that these functions do not work for
16-bit file images, which may be why I am getting the error. Is there
another way to get this information (i.e. one that works on 16-bit file
systems)? If not, what infomation is available? The most important
attributes for my project are the creation/modified dates of a file and the
product version of an exe. Are either of these available? If so, how would
I get them without using these functions?
Any help is appreciated.
-Chris
I am currently working on a C++ project for a PocketPC with Windows
Mobile 5.0 in Visual Studio 2005. I am currently looking for a way to get
file version information, i.e. file version, product version, file modified
date, file creation date, etc. The only way I could find was using the
functions GetFileVersionInfoSize, GetFileVersionInfo, and then VerQueryValue,
but when I ran it, it gave me an error saying: "The specified resource name
cannot be found in the image file."
I noticed in the documentation that these functions do not work for
16-bit file images, which may be why I am getting the error. Is there
another way to get this information (i.e. one that works on 16-bit file
systems)? If not, what infomation is available? The most important
attributes for my project are the creation/modified dates of a file and the
product version of an exe. Are either of these available? If so, how would
I get them without using these functions?
Any help is appreciated.
-Chris