Questions tagged [fileversioninfo]

Use this tag for questions related to the version-information resource in Windows. Version information makes it easier for applications to install files properly and enables setup programs to analyze files currently installed. The version-information resource contains the version number of the file, its intended operating system, and the original file name.

77 questions
1
vote
1 answer

Getting the "version" number of a TLB

A legacy application displays the version numbers of all of its components, which are supposed to be DLLs. We are tricking the application for various reasons by putting TLBs in the folder that gets queried. However, when it lists the version…
Dave
  • 14,618
  • 13
  • 91
  • 145
1
vote
4 answers

how to get file last modified date?

I have one mistake .Why I dont know I want to take this file last modified date .but I have problem in my code : date is coming always 01011601 why?Do you have any suggestions ? File properties :
Sezer Erdogan
  • 167
  • 1
  • 9
  • 34
1
vote
0 answers

What's the equivalent of GetFileVersionInfo in Driver?

I want to write a driver in windows and cannot use GetFileVersionInfo. How can I get VersionInfo for an file in kernel mode, What's the equivalent of GetFileVersionInfo?
codeDom
  • 1,623
  • 18
  • 54
1
vote
1 answer

C++ Builder File Version not correct

I have set the file version in Project->Options->Version Info (yes the "Include version information" is ticked). I have for example FileVersion: 0.95.1.73 set in all release configurations. But when I rebuild, the File version is always set to…
1
vote
1 answer

How can I get file version info of an .exe in a handheld device (CF/CE)?

In my server app, I can get File version info this way: FileVersionInfo currentVersion = FileVersionInfo.GetVersionInfo(filePath); ...but that trick doesn't seem to work in the Compact Framework (I get, "The type or namespace name 'FileVersionInfo'…
1
vote
1 answer

MacOS X equivalent for VerQueryValue?

I am currently porting a project to MacOS, and in the Windows version we use VerQueryLang(...), which is part of winapi, to determine some file version information for the window title. Is there an equivalent function on MacOS?
Benjamin
  • 2,718
  • 5
  • 21
  • 20
1
vote
1 answer

Why does WinDBG show mismatched FileVersion in dump?

TL;DR Why does WinDBG lmvdisplay two version info fields (when no other tool I know of does this) and under which circumstances can these fields differ? Background: I have a live dump (from a deadlock) of our application. Symbols are loaded…
Martin Ba
  • 37,187
  • 33
  • 183
  • 337
1
vote
2 answers

READ VersionInfo from file with a TFileStream

I need to read the VersionInfo from a file (exe or dll) using a TSream. I cannot use the windows API GetFileVersionInfo, because my file is at memory (TMemoryStream) and I don't want to write the file to disk for get this information, I have some…
Beto Neto
  • 3,962
  • 7
  • 47
  • 81
1
vote
0 answers

Modify description of compiled exe

I want to modify the version info of a compiled exe to change the description. I looked at it a bit myself and figured out I need to use the UpdateRessource function, and I got this far. LPBYTE lpBuffer = new BYTE[200]; UpdateResource(filehandle, …
user818205
  • 51
  • 1
  • 4
0
votes
0 answers

VERSIONINFO structure in the resource file

I would like to change the content of the program version, program name, author, etc. during compilation in the command line. I didn't find a way to change it other than using my own resource file with this information. But I couldn't find…
0
votes
1 answer

Julia lang: How to get Versioninformation of Windows processes?

How do I get the versioninformation of all running processes on a Windows Server in Julia? Like "get-process -filversioninfo" in PowerShell? I need all processes starting with "d" in a separate text file (again powershell: get-process d*…
0
votes
1 answer

Error: The non-abstract class 'S' is missing implementations for these members:

Error: The non-abstract class 'S' is missing implementations for these…
qwertt
  • 1
  • 1
0
votes
0 answers

Error: The non-abstract class 'S' is missing implementations for these members

Error: The non-abstract class 'S' is missing implementations for these…
qwertt
  • 1
  • 1
0
votes
0 answers

Modifying only one field property of win32 exe

For a release pipeline I need to update the ProductVersion field of a win32 exe. All the other fields are updated in the build pipeline of each application. The release pipeline covers multiple applications and bundling them into an archive, which…
user2020
  • 217
  • 2
  • 12
0
votes
1 answer

Get exe file version information from GitHub using c#

I have my file in my GitHub repository. I can get my exe file version only after downloaded that exe file into my local machine. var file1 = $"https://raw.githubusercontent.com/{get-id}/AutoUpdate/main/hello.exe"; var desktop =…
Bruse
  • 7
  • 3