https://bugs.winehq.org/show_bug.cgi?id=46867
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|frmAuth_Load |StruCalc 9.x/10.x fails to |System.IO.DirectoryNotFound |run with Wine-Mono, reports |Exception |'frmAuth_Load | |System.IO.DirectoryNotFound | |Exception' Component|-unknown |mscoree Ever confirmed|0 |1 Status|RESOLVED |REOPENED Keywords| |download Resolution|FIXED |--- Hardware|x86 |x86-64 CC| |focht@gmx.net URL| |https://web.archive.org/web | |/20190320080509/https://sof | |tpedia-secure-download.com/ | |dl/142aad77193d67eef10e73e5 | |25215908/5c91f3e1/100224341 | |/software/science/StruCalc_ | |10_0_1_5_30.msi
--- Comment #7 from Anastasius Focht focht@gmx.net --- Hello folks,
using MS .NET Framework is not a fix, it's a workaround. There is still a bug with Wine-Mono which is part of Wine. Reopening and refining summary to give Wine-Mono folks a chance to fix this.
I found some external mirror site and created a snapshot via Internet archive:
https://web.archive.org/web/20190320080509/https://softpedia-secure-download...
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files (x86)/StruCalc for Windows/StruCalc 10.0
$ tree --charset=ANSI . |-- C1.C1Report.2.dll |-- C1.Win.C1Command.2.dll |-- C1.Win.C1Input.2.dll |-- C1.Win.C1Report.2.dll |-- C1.Win.C1Ribbon.2.dll |-- C1.Win.C1SuperTooltip.2.dll |-- DBEditor.MDB |-- mdnsNSP.dll |-- StruCalc.exe |-- StruCalc.exe.config `-- StruCalc.png
0 directories, 11 files
$ WINE_MONO_TRACE=program,assembly,wrapper wine ./StruCalc.exe >>log2.txt 2>&1 ... [00000009: 7.75512 5] ENTER: (wrapper managed-to-native) Interop/Kernel32:GetFileAttributesExPrivate (string,Interop/Kernel32/GET_FILEEX_INFO_LEVELS,Interop/Kernel32/WIN32_FILE_ATTRIBUTE_DATA&)([STRING:014B1448:C:\users\focht\Local Settings\Application Data\StruCalc, Inc.\mscorlib.dll_StrongName_19ee5950bd45ed6f08481c742b274caea6c96a0d\user.config], 0, [BYREF:0033EE84], ) [00000009: 7.75513 6] ENTER: (wrapper managed-to-native) object:__icall_wrapper_mono_marshal_string_to_utf16 (object)([STRING:014B1448:C:\users\focht\Local Settings\Application Data\StruCalc, Inc.\mscorlib.dll_StrongName_19ee5950bd45ed6f08481c742b274caea6c96a0d\user.config], ) [00000009: 7.75515 6] LEAVE: (wrapper managed-to-native) object:__icall_wrapper_mono_marshal_string_to_utf16 (object)result=014B1454 [00000009: 7.75519 5] LEAVE: (wrapper managed-to-native) Interop/Kernel32:GetFileAttributesExPrivate (string,Interop/Kernel32/GET_FILEEX_INFO_LEVELS,Interop/Kernel32/WIN32_FILE_ATTRIBUTE_DATA&)result=18546688 [00000009: 7.75520 5] ENTER: (wrapper managed-to-native) System.Runtime.InteropServices.Marshal:GetLastWin32Error ()() [00000009: 7.75521 5] LEAVE: (wrapper managed-to-native) System.Runtime.InteropServices.Marshal:GetLastWin32Error ()result=3 ... [00000009:] EXCEPTION handling: System.IO.DirectoryNotFoundException: Could not find a part of the path "C:\users\focht\Local Settings\Application Data\StruCalc, Inc.\mscorlib.dll_StrongName_19ee5950bd45ed6f08481c742b274caea6c96a0d\user.config". EXCEPTION: catch found at clause 0 of StruCalc.frmAuth:frmAuth_Load (object,System.EventArgs) --- snip ---
$ sha1sum StruCalc_10_0_1_5_30.msi a22f526c9c2a6f45e18bfe5bb2d964fffd533281 StruCalc_10_0_1_5_30.msi
$ du -sh StruCalc_10_0_1_5_30.msi 22M StruCalc_10_0_1_5_30.msi
$ wine --version wine-4.4-90-g42683dd159
Regards