https://bugs.winehq.org/show_bug.cgi?id=44867
--- Comment #3 from Anastasius Focht focht@gmx.net --- Hello Nikolay,
--- quote --- Will it help if we returned WIA_S_NO_DEVICE_AVAILABLE instead? --- quote ---
well, it prevents the crash. Instead a message box is shown: "No scanner connected, please connect a scanner and click Retry." which makes sense with that changed stub return value.
Unrelated to this ticket: there seems to be loader regression(s).
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files (x86)/iCopy
$ wine ./iCopy.exe ... wine: Call from 0x7124d244 to unimplemented function mscorwks.dll.CreateAssemblyNameObject, aborting
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object. at iCopy.PortableSettingsProvider.SetValue(SettingsPropertyValue propVal) at iCopy.PortableSettingsProvider.SetPropertyValues(SettingsContext context, SettingsPropertyValueCollection propvals) at System.Configuration.SettingsBase.SaveCore() at System.Configuration.SettingsBase.Save() at System.Configuration.ApplicationSettingsBase.Save() at iCopy.appControl.Main(String[] sArgs) wine: Unhandled page fault on read access to 00000000 at address 03822AD1 (thread 0009), starting debugger... --- snip ---
Despite: https://source.winehq.org/git/wine.git/commitdiff/cf87feee13fa0d2feedb5cd762... ("mscorwks: Prefer the native version.")
-> needs 'native-only' mscorwks.dll override to work.
Regards