[Bug 47955] Vminteq defaults app fails to start

WineHQ Bugzilla wine-bugs at winehq.org
Sun Oct 20 15:29:31 CDT 2019


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

--- Comment #6 from Zebediah Figura <z.figura12 at gmail.com> ---
Though admittedly this is confusing. The application tries to open
userfolder.txt with two different paths:

      IL_004b:  callvirt instance string class
[Microsoft.VisualBasic]Microsoft.VisualBasic.MyServices.SpecialDirectoriesProxy::get_MyDocuments()
      IL_0050:  ldstr "\\Vminteq31"
      IL_0055:  call string string::Concat(string, string)
      IL_005a:  stsfld string Vmindefault.modGlodek::Usfoldir
      IL_005f:  nop 
      IL_0060:  nop 
      IL_0061:  ldc.i4.1 
      IL_0062:  ldsfld string Vmindefault.modGlodek::Usfoldir
      IL_0067:  ldstr "\\userfolder.txt"
      IL_006c:  call string string::Concat(string, string)

which yields C:\users\<username>\My Documents\Vminteq31\userfolder.txt, and

      IL_073d:  call string class [mscorlib]System.Environment::get_UserName()
      IL_0742:  stloc.s 4
      IL_0744:  ldsfld string Vmindefault.modGlodek::Progdir
      IL_0749:  ldstr "\\"
      IL_074e:  ldloc.s 4
      IL_0750:  call string string::Concat(string, string, string)
      IL_0755:  stsfld string Vmindefault.modGlodek::Usfoldir
      IL_075a:  br IL_0060

which yields C:\Program Files\Vminteq31\<username>\userfolder.txt.

Neither of which are the actual location, C:\Program
Files\Vminteq31\userfolder.txt. But I'm not seeing a lot of room for error
here...

-- 
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