[Bug 37050] New: Wine and FreeSCAN.exe fails to load
http://bugs.winehq.org/show_bug.cgi?id=37050 Bug ID: 37050 Summary: Wine and FreeSCAN.exe fails to load Product: Wine Version: 1.6.2 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: critical Priority: P2 Component: loader Assignee: wine-bugs(a)winehq.org Reporter: hd625b(a)gmail.com Used Lunix Mint17 Terminal and Wine to run FreeSCAN.exe which threw the errors below. FreeSCAN.exe is from SixSpot Software. hd625b(a)MyLunixMint17 ~ $ wine "/home/hd625b/.wine/drive_c/Program Files/FreeSCAN/FreeSCAN.exe" Unhandled Exception: System.TypeLoadException: Could not load type 'FreeSCAN.lblSiteNote' from assembly 'FreeSCAN, Version=0.8.3.0, Culture=neutral, PublicKeyToken=null'. at FreeSCAN.My.MyProject+MyForms.get_lblSiteNote () [0x00000] in <filename unknown>:0 at FreeSCAN.My.MyApplication.OnCreateMainForm () [0x00000] in <filename unknown>:0 at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun () [0x00000] in <filename unknown>:0 at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run (System.String[] commandLine) [0x00000] in <filename unknown>:0 at FreeSCAN.My.MyApplication.Main (System.String[] Args) [0x00000] in <filename unknown>:0 [ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: Could not load type 'FreeSCAN.lblSiteNote' from assembly 'FreeSCAN, Version=0.8.3.0, Culture=neutral, PublicKeyToken=null'. at FreeSCAN.My.MyProject+MyForms.get_lblSiteNote () [0x00000] in <filename unknown>:0 at FreeSCAN.My.MyApplication.OnCreateMainForm () [0x00000] in <filename unknown>:0 at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun () [0x00000] in <filename unknown>:0 at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run (System.String[] commandLine) [0x00000] in <filename unknown>:0 at FreeSCAN.My.MyApplication.Main (System.String[] Args) [0x00000] in <filename unknown>:0 hd625b(a)MyLunixMint17 ~ $ -- 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.
http://bugs.winehq.org/show_bug.cgi?id=37050 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW URL| |https://sites.google.com/si | |te/sixspotsoftware//downloa | |ds Keywords| |download Component|loader |mscoree CC| |focht(a)gmx.net Ever confirmed|0 |1 Summary|Wine and FreeSCAN.exe fails |FreeSCAN 2.17 (.NET 4.0 |to load |app) crashes on startup | |with Wine-Mono Severity|critical |normal --- Comment #1 from Anastasius Focht <focht(a)gmx.net> --- Hello folks, works fine here with 'winetricks -q dotnet40' in clean 32-bit WINEPREFIX. Obviously a Wine-Mono bug. $ sha1sum fssetup-217.zip 69da14a96fdba992edab431e2b19ee490e22ebdc fssetup-217.zip $ du -sh fssetup-217.zip 1.6M fssetup-217.zip $ wine --version wine-1.7.23-78-g4a6ce97 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.
http://bugs.winehq.org/show_bug.cgi?id=37050 --- Comment #2 from Michael Long <hd625b(a)gmail.com> --- I duplicated the same problem on a Dell Inspiron 9300 32 bit laptop. I got the freescan installer to work with wine but the FreeSCAN.exe would not run. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=37050 --- Comment #3 from Vincent Povirk <madewokherd(a)gmail.com> --- trace:mscoree:mono_assembly_preload_hook_fn "Microsoft.VisualBasic.Compatibility, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Seems we need a replacement for this assembly. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=37050 Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |leslie_alistair(a)hotmail.com -- 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.
https://bugs.winehq.org/show_bug.cgi?id=37050 winetest(a)luukku.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest(a)luukku.com --- Comment #4 from winetest(a)luukku.com --- The application has been upgraded, but it still fails with wine-mono. System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualBasic.Compatibility, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. wine 1.9.21. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=37050 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4(a)web.de --- Comment #5 from Fabian Maurer <dark.shadow4(a)web.de> --- FWIW, there is an old pullrequest to adress this issue: https://github.com/mono/mono/pull/1377 Maybe this could help, although I didn't manage to build the dll yet. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=37050 Gijs Vermeulen <gijsvrm(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|FreeSCAN 2.17 (.NET 4.0 |FreeSCAN 2.17 (.NET 4.0 |app) crashes on startup |app) crashes on startup |with Wine-Mono |with Wine-Mono (needs | |Microsoft.VisualBasic.Compa | |tibility) URL|https://sites.google.com/si |https://fd2b7c5e-a-62cb3a1a |te/sixspotsoftware//downloa |-s-sites.googlegroups.com/s |ds |ite/sixspotsoftware/fssetup | |-217.zip?attachauth=ANoY7cr | |Ak8V_r4BRD1RtGrJxqyo-W1mmWb | |Z-dxSd8iZKYHXtMhdfD8zhAKzrZ | |h_DOouKlaO7cssCQrUgl4bI1ELR | |7RBGTjJI7svIAG0c_v-fqFPxZuJ | |r2EdV-v3wy0gKIVI2aNMnIDvoFF | |VsUwLYS4N-B6cFlmugmQu4SrLkG | |L1VsKHCjDJ9knNCQfHlp6wwJlLx | |GobB8R4JjEzzlvhVpYPVExAw6oN | |HLg%3D%3D&attredirects=1 --- Comment #6 from Gijs Vermeulen <gijsvrm(a)gmail.com> --- Still present in wine-5.18-94-gd45b3d4fdd7 with wine-mono 5.1.1. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=37050 --- Comment #7 from Esme Povirk <madewokherd(a)gmail.com> --- We should check to see whether .NET Core has source code for this. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=37050 --- Comment #8 from Esme Povirk <madewokherd(a)gmail.com> --- This does not appear to exist in .NET Core. MSDN says it's obsolete. I guess Alistair's library would be our best option. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=37050 --- Comment #9 from Esme Povirk <madewokherd(a)gmail.com> --- First thing it fails with is missing Microsoft.VisualBasic.Compatibility.VB6.LabelArray. Apparently this implements some weird VB6 feature called a "control array": https://www.freetutes.com/learn-vb6/lesson11.html There are a bunch of these: https://docs.microsoft.com/en-us/dotnet/api/microsoft.visualbasic.compatibil... It's probably not too difficult to implement, but this is as far as I'm willing to go with this for now. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=37050 --- Comment #10 from Esme Povirk <madewokherd(a)gmail.com> --- Created attachment 68311 --> https://bugs.winehq.org/attachment.cgi?id=68311 Microsoft.VisualBasic.Compatibility patches Here's Alistair's patches from the pull request, rebased onto mono master, in case anyone wants to pick this up. I'm not convinced that Mono is the right place for this library, as that would prevent it from depending on any other VB libraries. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=37050 Esme Povirk <madewokherd(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #68311|0 |1 is obsolete| | --- Comment #11 from Esme Povirk <madewokherd(a)gmail.com> --- Created attachment 68312 --> https://bugs.winehq.org/attachment.cgi?id=68312 Microsoft.VisualBasic.Compatibility patches Uh, it seems like that got mangled by Bugzilla somehow. Let's try that again. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=37050 Gijs Vermeulen <gijsvrm(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch URL|https://fd2b7c5e-a-62cb3a1a |http://web.archive.org/web/ |-s-sites.googlegroups.com/s |20160722223218if_/https://f |ite/sixspotsoftware/fssetup |d2b7c5e-a-62cb3a1a-s-sites. |-217.zip?attachauth=ANoY7cr |googlegroups.com/site/sixsp |Ak8V_r4BRD1RtGrJxqyo-W1mmWb |otsoftware/fssetup-217.zip? |Z-dxSd8iZKYHXtMhdfD8zhAKzrZ |attachauth=ANoY7crAk8V_r4BR |h_DOouKlaO7cssCQrUgl4bI1ELR |D1RtGrJxqyo-W1mmWbZ-dxSd8iZ |7RBGTjJI7svIAG0c_v-fqFPxZuJ |KYHXtMhdfD8zhAKzrZh_DOouKla |r2EdV-v3wy0gKIVI2aNMnIDvoFF |O7cssCQrUgl4bI1ELR7RBGTjJI7 |VsUwLYS4N-B6cFlmugmQu4SrLkG |svIAG0c_v-fqFPxZuJr2EdV-v3w |L1VsKHCjDJ9knNCQfHlp6wwJlLx |y0gKIVI2aNMnIDvoFFVsUwLYS4N |GobB8R4JjEzzlvhVpYPVExAw6oN |-B6cFlmugmQu4SrLkGL1VsKHCjD |HLg%3D%3D&attredirects=1 |J9knNCQfHlp6wwJlLxGobB8R4Jj | |EzzlvhVpYPVExAw6oNHLg%3D%3D | |&attredirects=1 --- Comment #12 from Gijs Vermeulen <gijsvrm(a)gmail.com> --- Still present with wine-9.0rc2 & wine-mono-8.1.0. Adding stable download that matches Comment #1. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=37050 --- Comment #13 from Esme Povirk <madewokherd(a)gmail.com> --- Taking another look. It's going to have to be written in VB.NET, not C#, because of API's like this: https://learn.microsoft.com/en-us/dotnet/api/microsoft.visualbasic.compatibi... Yes, this library has properties that take arguments. Also confirmed that this must reference Microsoft.VisualBasic.dll: https://learn.microsoft.com/en-us/dotnet/api/microsoft.visualbasic.compatibi... -- 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.
https://bugs.winehq.org/show_bug.cgi?id=37050 --- Comment #14 from Esme Povirk <madewokherd(a)gmail.com> --- Started on the implementation. This program needs a lot of "control array" classes. I think we'll need to generate the code for those. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=37050 --- Comment #15 from Esme Povirk <madewokherd(a)gmail.com> --- Yep, there's actually not much in this library to implement. This is enough to get it running: https://github.com/madewokherd/wine-mono/commit/7c14e3b85f5580dc8d358cc5ef2c... -- 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.
https://bugs.winehq.org/show_bug.cgi?id=37050 --- Comment #16 from Esme Povirk <madewokherd(a)gmail.com> --- A few methods referenced by the application in Microsoft.VisualBasic.Compatibility.VB6.Support are still missing: FontChangeBold, FontChangeName, FontChangeItalic, FontChangeUnderline, FontChangeSize GetItemString PixelsToTwipsX, PixelsToTwipsY, TwipsToPixelsX, TwipsToPixelsY I haven't found the part of the application that tries to use these (and would thus crash on the missing methods). I can't test very well because I don't understand what the application does. There's also an exception that comes up when hovering over toolbar items, with a System.Drawing error, possibly an issue with tooltips? Anyway, is there someone who still cares about this application and can test further fixes? If not, I think I've reached the end of my motivation to work on it. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=37050 --- Comment #17 from Esme Povirk <madewokherd(a)gmail.com> --- My initial work on Microsoft.VisualBasic.Compatibility.dll is in Wine Mono 9.0.0 which was merged into Winehq as e891073c9eacc391cfa1bdb65e734922742c2c17. I'm not confident the bug is fixed, though, because the application references some unimplemented methods. So I'd appreciate if someone who knows how to use this program could retest with Wine Mono 9.0.0 (which will be in Wine 9.2). -- 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.
https://bugs.winehq.org/show_bug.cgi?id=37050 Esme Povirk <madewokherd(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |madewokherd(a)gmail.com -- 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.
participants (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla