Camel1965

Bardzo aktywny
Zasłużony
Dołączył
8 Wrzesień 2010
Posty
56680
Reakcje/Polubienia
41342
DriverStoreExplorer 1.0.26

What's New​



Bug Fixes & Improvements​



Localization​


Zaloguj lub Zarejestruj się aby zobaczyć!
 

Ircus

Bardzo aktywny
Ekspert
Dołączył
26 Maj 2010
Posty
22889
Reakcje/Polubienia
70582
DriverStore Explorer v1.0.38
Zaloguj lub Zarejestruj się aby zobaczyć!
tagged this 2 hours ago
DismUtil.IsDismAvailable (and SupportExportAllDrivers) check for DISM
with Marshal.Prelink and only handled DllNotFoundException and
EntryPointNotFoundException. If the DismApi.dll found on the search
path is for the other architecture, Prelink throws
BadImageFormatException. Because IsDismAvailable is evaluated in the
DismUtil type initializer, this surfaces as a TypeInitializationException
and the app crashes on startup.

Windows 8 and later always find the matching DLL in System32 first.
Windows 7 has none there, so it falls back to the rest of the search
path. Since the DISM menu item's state is computed at startup on every
OS, a mismatched DismApi.dll anywhere on that path is enough to crash
Windows 7.

Catch BadImageFormatException as well and treat DISM as unavailable, so
the app falls back to PnpUtil as it already does when the DLL is
missing.

Refs #479
Zaloguj lub Zarejestruj się aby zobaczyć!
 
Do góry