Login | ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/filter_foundry/trunk/versioninfo_modify_win.c
(Generate patch)

Comparing trunk/versioninfo_modify_win.c (file contents):
Revision 355 by daniel-marschall, Sat Jul 10 23:44:00 2021 UTC vs.
Revision 356 by daniel-marschall, Fri Oct 15 17:12:06 2021 UTC

# Line 423 | Line 423 | ULONG UpdateVersionInfo(PCTSTR FileName,
423          {
424                  ctx.fDiscard = TRUE;
425  
426 <                if (hmod = LoadLibraryEx(FileName, 0, LOAD_LIBRARY_AS_DATAFILE_EXCLUSIVE))
426 >                // LOAD_LIBRARY_AS_DATAFILE_EXCLUSIVE requires at least Windows Vista, so we use
427 >                // LOAD_LIBRARY_AS_DATAFILE
428 >                if (hmod = LoadLibraryEx(FileName, 0, LOAD_LIBRARY_AS_DATAFILE/*_EXCLUSIVE*/))
429                  {
430                          if (!EnumResourceLanguages(hmod, RT_VERSION,
431                                  MAKEINTRESOURCE(VS_VERSION_INFO),
# Line 464 | Line 466 | ULONG UpdateVersionInfoWithHandle(PCTSTR
466  
467          ctx.fDiscard = TRUE;
468  
469 <        if (hmod = LoadLibraryEx(FileName, 0, LOAD_LIBRARY_AS_DATAFILE_EXCLUSIVE))
469 >        // LOAD_LIBRARY_AS_DATAFILE_EXCLUSIVE requires at least Windows Vista, so we use
470 >        // LOAD_LIBRARY_AS_DATAFILE
471 >        if (hmod = LoadLibraryEx(FileName, 0, LOAD_LIBRARY_AS_DATAFILE/*_EXCLUSIVE*/))
472          {
473                  if (!EnumResourceLanguages(hmod, RT_VERSION,
474                          MAKEINTRESOURCE(VS_VERSION_INFO),

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines