Hi @D.D.K-2637 , If you want to display your custom values in file > properties > Details, you will not be able to achieve, see this answer on stackoverflow.
The values that are displayed are hard-coded in the shell and the shell simply will not parse your resource and look for values that it knows nothing about.
You need to use VerQueryValue
to get your custom value, like:
DWORD handle = 0;
TCHAR file[] = L"C:\\test.dll";
DWORD len = GetFileVersionInfoSize(file, &handle);
LPVOID pdata = malloc(len);
GetFileVersionInfo(file, 0, len, pdata);
LPVOID lpBuffer = NULL;
UINT length = 0;
VerQueryValue(pdata, L"\\StringFileInfo\\040904b0\\Authors", &lpBuffer, &length);
printf("%S\n", lpBuffer);
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.