Wine's C:\windows\system32 directory has 64bit dlls with WINEARCH=win64

Questions about Wine on Linux
Post Reply
ahmedgomaa
Level 1
Level 1
Posts: 5
Joined: Sun Jan 09, 2022 7:02 am

Wine's C:\windows\system32 directory has 64bit dlls with WINEARCH=win64

Post by ahmedgomaa »

While I was using one of my applications that loads C:\windows\system32\msvcrt.dll,
It supposed to found the 32bit dll of msvcrt under system32 directory,

But I found that C:\windows\system32\msvcrt.dll is a 64bit dll!

Note that:
I'm using Wine 7.0 rc4, and my WINEARCH=win64.
User avatar
dimesio
Moderator
Moderator
Posts: 13209
Joined: Tue Mar 25, 2008 10:30 pm

Re: Wine's C:\windows\system32 directory has 64bit dlls with WINEARCH=win64

Post by dimesio »

That's normal, and how it is on Windows, too: 64 bit dlls are in system32; 32 bit dlls are in SysWoW64.
ahmedgomaa
Level 1
Level 1
Posts: 5
Joined: Sun Jan 09, 2022 7:02 am

Re: Wine's C:\windows\system32 directory has 64bit dlls with WINEARCH=win64

Post by ahmedgomaa »

dimesio wrote: Wed Apr 03, 2024 6:02 am That's normal, and how it is on Windows, too: 64 bit dlls are in system32; 32 bit dlls are in SysWoW64.
Maybe there's something I didn't get, I see my Windows 10, and 11, the 32bit dlls are under system32 directory, and 64bit ones are under SysWoW64.

For example, msvcrt.dll:

Code: Select all

$ file /c/Windows/System32/msvcrt.dll
/c/Windows/System32/msvcrt.dll: PE32 executable for MS Windows (DLL) (GUI) Intel 80386 32-bit
It's a 32bit dll under System32 on my native Windows.
ahmedgomaa
Level 1
Level 1
Posts: 5
Joined: Sun Jan 09, 2022 7:02 am

Re: Wine's C:\windows\system32 directory has 64bit dlls with WINEARCH=win64

Post by ahmedgomaa »

Any updates?
Post Reply