[Bug 44867] iCopy 1.6.x (.NET 2.0 app) throws System.NotImplementedException on startup (IWiaDevMgr::SelectDeviceDlg is a stub)

WineHQ Bugzilla wine-bugs at winehq.org
Sun Oct 27 06:24:31 CDT 2019


https://bugs.winehq.org/show_bug.cgi?id=44867

--- Comment #3 from Anastasius Focht <focht at 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/cf87feee13fa0d2feedb5cd762866aed0ed00dba
("mscorwks: Prefer the native version.")

-> needs 'native-only' mscorwks.dll override to work.

Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list