Wine is missing things and I don't know how to fix it

Questions about Wine on Linux
Locked
RainbowPoodle6
Level 1
Level 1
Posts: 6
Joined: Mon Jan 31, 2022 7:42 pm

Wine is missing things and I don't know how to fix it

Post by RainbowPoodle6 »

When I try to boot up wine, it says
00e0:err:module:import_dll Library comctl32.dll (which is needed by L"C:\\windows\\syswow64\\winecfg.exe") not found
00e0:err:module:import_dll Library comctl32.dll (which is needed by L"C:\\windows\\syswow64\\comdlg32.dll") not found
00e0:err:module:import_dll Library comdlg32.dll (which is needed by L"C:\\windows\\syswow64\\winecfg.exe") not found
00e0:err:module:LdrInitializeThunk Importing dlls for L"C:\\windows\\syswow64\\winecfg.exe" failed, status c0000135
The first time I opened it it said it could download things that it needed for me, and I told it to install it but the progress bar never made any progress so I tried to close it and open it again, but it gave me this error ever since. I tried to look at the forums for other people having this problem and saw someone say to try "WINEPREFIX=${HOME}/test-wine wine winecfg" which installs whatever it needs and opens but doesn't run apps, assumedly because it's a test wine thing, although I don't know much about this.
RainbowPoodle6
Level 1
Level 1
Posts: 6
Joined: Mon Jan 31, 2022 7:42 pm

Wine is missing things and I don't know how to fix it

Post by RainbowPoodle6 »

whenever it i try to start it it says
00e0:err:module:import_dll Library comctl32.dll (which is needed by L"C:\\windows\\syswow64\\winecfg.exe") not found
00e0:err:module:import_dll Library comctl32.dll (which is needed by L"C:\\windows\\syswow64\\comdlg32.dll") not found
00e0:err:module:import_dll Library comdlg32.dll (which is needed by L"C:\\windows\\syswow64\\winecfg.exe") not found
00e0:err:module:LdrInitializeThunk Importing dlls for L"C:\\windows\\syswow64\\winecfg.exe" failed, status c0000135
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Wine is missing things and I don't know how to fix it

Post by jkfloris »

Remove (or rename) the hidden .wine directory in your home folder and try again.
invisible kid
Level 5
Level 5
Posts: 368
Joined: Tue Dec 24, 2019 3:23 pm

Re: Wine is missing things and I don't know how to fix it

Post by invisible kid »

Just some additional background info.
Wine creates a work directory called ".wine" in your home directory.
You can make wine use a name different than .wine by using a command like this:

Code: Select all

WINEPREFIX=${HOME}/test-wine wine
like you have above. In that case wine will use "test-wine" as the work directory.

Another way to do it is to use ".wine" but delete or rename an already existing ".wine" folder:

Go to home directory:

Code: Select all

cd
to delete:

Code: Select all

rm -rf .wine
to rename:

Code: Select all

mv .wine .wine-old
daniellemill
Newbie
Newbie
Posts: 1
Joined: Thu Feb 03, 2022 4:44 am

Re: Wine is missing things and I don't know how to fix it

Post by daniellemill »

I have a similar problem! I tried the option that you described, but I didn’t succeed! Are there other solutions?
RainbowPoodle6
Level 1
Level 1
Posts: 6
Joined: Mon Jan 31, 2022 7:42 pm

Re: Wine is missing things and I don't know how to fix it

Post by RainbowPoodle6 »

thank you guys sm i got it to work
RainbowPoodle6
Level 1
Level 1
Posts: 6
Joined: Mon Jan 31, 2022 7:42 pm

Re: Wine is missing things and I don't know how to fix it

Post by RainbowPoodle6 »

sorry I said the same thing twice, I'm kinda dumb lol
Locked