[Bug 7853] New: GetSystemDirectory returns wrong directory to 16-bit apps

Wine Bugs wine-bugs at winehq.org
Sun Mar 25 07:57:15 CDT 2007


           Summary: GetSystemDirectory returns wrong directory to 16-bit
           Product: Wine
           Version: 0.9.33.
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: wine-kernel
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: wine.bug.fr.200703 at edavies.nildram.co.uk

I'm having problems installing VB 3.0 under Wine.  To try to diagnose the
problem I wrote a short test program in MSVC 1.52 (16-bit C) to display the
results of GetWindowsDirectory and GetSystemDirectory.  I ran this under Windows
XP and Wine under Linux and got different results:

Windows XP:
GetWindowsDirectory = C:\WINDOWS
GetSystemDirectory = C:\WINDOWS\SYSTEM

GetWindowsDirectory = c:\windows
GetSystemDirectory = c:\windows\system32

The differences are the case of the names returned (particularly the drive
letter which I has a suspicion is tripping up the VB 3.0 installation) and also
the response of the 32-bit directory name for GetSystemDirectory.

I noticed this problem on previous versions of Wine.  Instead of accepting the
default Ubuntu upgrade to 0.9.33 I uninstalled Wine (including configuration
information) and did a clean install of 0.9.33 for these tests.

Once I've committed this report I'll attempt to attach a tar.gz of the source
and executable of the test program.

Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the wine-bugs mailing list