wineboot with comctl32 native

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
xekhz
Level 3
Level 3
Posts: 53
Joined: Fri Mar 14, 2008 11:37 am

wineboot with comctl32 native

Post by xekhz »

I get the following
warn:module:load_dll Failed to load module L"comctl32.dll"; status=c0000135

I have comctl32 in system32
can anyone explain what status=c0000135 means
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: wineboot with comctl32 native

Post by vitamin »

xekhz wrote:I get the following
warn:module:load_dll Failed to load module L"comctl32.dll"; status=c0000135

I have comctl32 in system32
can anyone explain what status=c0000135 means
#define STATUS_DLL_NOT_FOUND ((NTSTATUS) 0xC0000135)

You probably have Wine's "fake dll" and not a real one. Fake dll:

Code: Select all

-rw-r--r-- 1 vitaliy users 61544 2008-10-05 11:11 comctl32.dll
Real one:

Code: Select all

-rw-r--r-- 1 vitaliy users 529680 2002-08-29 08:14 comctl32.dll
Note the size difference.
xekhz
Level 3
Level 3
Posts: 53
Joined: Fri Mar 14, 2008 11:37 am

Re: wineboot with comctl32 native

Post by xekhz »

vitamin wrote:
xekhz wrote:I get the following
warn:module:load_dll Failed to load module L"comctl32.dll"; status=c0000135

I have comctl32 in system32
can anyone explain what status=c0000135 means
#define STATUS_DLL_NOT_FOUND ((NTSTATUS) 0xC0000135)

You probably have Wine's "fake dll" and not a real one. Fake dll:

Code: Select all

-rw-r--r-- 1 vitaliy users 61544 2008-10-05 11:11 comctl32.dll
Real one:

Code: Select all

-rw-r--r-- 1 vitaliy users 529680 2002-08-29 08:14 comctl32.dll
Note the size difference.
Correct I have fake DLL

-rw-r--r-- 1 xekhz xekhz 61544 2008-10-14 13:22 ../../AIRC/SGP/comctl32.dll
-rw-r--r-- 1 xekhz xekhz 61544 2008-10-14 13:23 comctl32.dll

Where is that info, about fake dll???
User avatar
dimesio
Moderator
Moderator
Posts: 13368
Joined: Tue Mar 25, 2008 10:30 pm

Re: wineboot with comctl32 native

Post by dimesio »

xekhz wrote:
Where is that info, about fake dll???
http://winehq.org/site/docs/wineusr-gui ... ain#AEN241
xekhz
Level 3
Level 3
Posts: 53
Joined: Fri Mar 14, 2008 11:37 am

Re: wineboot with comctl32 native

Post by xekhz »

dimesio wrote:
xekhz wrote:
Where is that info, about fake dll???
http://winehq.org/site/docs/wineusr-gui ... ain#AEN241
xekhz@Intranet-CMS:~/.wine/drive_c/windows/system32$ WINEDLLOVERRIDES="comctl32=n" WINEDLLPATH="/home/xekhz/DLLS/dll/" winecfg

DEBUG
err:module:import_dll Library comctl32.dll (which is needed by L"C:\\windows\\system32\\shell32.dll") not found
err:module:import_dll Library shell32.dll (which is needed by L"C:\\windows\\system32\\comdlg32.dll") not found
err:module:import_dll Library comctl32.dll (which is needed by L"C:\\windows\\system32\\comdlg32.dll") not found
err:module:import_dll Library comdlg32.dll (which is needed by L"C:\\windows\\system32\\winecfg.exe") not found
err:module:import_dll Library comctl32.dll (which is needed by L"C:\\windows\\system32\\winecfg.exe") not found
err:module:import_dll Library comctl32.dll (which is needed by L"C:\\windows\\system32\\shell32.dll") not found
err:module:import_dll Library shell32.dll (which is needed by L"C:\\windows\\system32\\winecfg.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"C:\\windows\\system32\\winecfg.exe" failed, status c0000135
xekhz@Intranet-CMS:~/.wine/drive_c/windows/system32$ ls -al /home/xekhz/DLLS/dll/
total 14804
drwxr-xr-x 2 xekhz xekhz 4096 2008-09-11 15:40 .
drwxr-xr-x 3 xekhz xekhz 4096 2008-09-11 15:40 ..
-rw-r--r-- 1 xekhz xekhz 684032 2008-04-14 21:39 advapi32.dll
-rw-r--r-- 1 xekhz xekhz 617472 2008-04-14 21:39 comctl32.dll
-rw-r--r-- 1 xekhz xekhz 281600 2008-04-14 21:39 comdlg32.dll
-rw-r--r-- 1 xekhz xekhz 110080 2008-04-14 21:39 C?pia de imm32.dll
-rw-r--r-- 1 xekhz xekhz 285184 2008-04-14 21:39 gdi32.dll
-rw-r--r-- 1 xekhz xekhz 110080 2008-04-14 21:39 imm32.dll
-rw-r--r-- 1 xekhz xekhz 95744 2008-04-14 21:39 iphlpapi.dll
-rw-r--r-- 1 xekhz xekhz 282112 2007-10-24 01:47 mscoree.dll
-rw-r--r-- 1 xekhz xekhz 635904 2007-10-24 01:47 msvcr80.dll
-rw-r--r-- 1 xekhz xekhz 122368 2008-04-14 21:39 msvfw32.dll
-rw-r--r-- 1 xekhz xekhz 1287168 2008-04-14 21:39 ole32.dll
-rw-r--r-- 1 xekhz xekhz 584704 2008-04-14 21:39 rpcrt4.dll
-rw-r--r-- 1 xekhz xekhz 8502272 2008-04-14 21:39 shell32.dll
-rw-r--r-- 1 xekhz xekhz 474624 2008-04-14 21:39 shlwapi.dll
-rw-r--r-- 1 xekhz xekhz 579584 2008-04-14 21:39 user32.dll
-rw-r--r-- 1 xekhz xekhz 219648 2008-04-14 21:39 uxtheme.dll
-rw-r--r-- 1 xekhz xekhz 172544 2008-04-14 21:39 wldap32.dll

Still get the not found error
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: wineboot with comctl32 native

Post by vitamin »

xekhz wrote:I get the following
warn:module:load_dll Failed to load module L"comctl32.dll"; status=c0000135

I have comctl32 in system32
can anyone explain what status=c0000135 means
What are you trying to do? Did you just set comctl32.dll to native in winecfg without actually providing the native dll itself?

What is the problem? What are you running? What all did you do?
xekhz
Level 3
Level 3
Posts: 53
Joined: Fri Mar 14, 2008 11:37 am

Re: wineboot with comctl32 native

Post by xekhz »

vitamin wrote:
xekhz wrote:I get the following
warn:module:load_dll Failed to load module L"comctl32.dll"; status=c0000135

I have comctl32 in system32
can anyone explain what status=c0000135 means
What are you trying to do? Did you just set comctl32.dll to native in winecfg without actually providing the native dll itself?

What is the problem? What are you running? What all did you do?
The native DLLs are in the /home/xekhz/DLL/dlls.
I am trying to overide the dll so that wine uses native comctl32 . That is why I have WINEOVERRIDES and WINEDLLPATH

Is this correct ???
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: wineboot with comctl32 native

Post by vitamin »

xekhz wrote:I am trying to overide the dll so that wine uses native comctl32 . That is why I have WINEOVERRIDES and WINEDLLPATH

Is this correct ???
No it's wrong. WINEDLLPATH is for builtin dlls. You have to copy native dlls into system32 or into program's directory. Wine will still use bultins unless you explicitly tell Wine to use natives.

On the separate note you should NEVER EVER override all those dlls. Go one at a time or you will break everything.

AND in case of comctl32.dll you still have to make an extra step. Otherwise Wine will still use it's own. That extra step - remove associated manifest file from windows/winesxs/manifests.
xekhz
Level 3
Level 3
Posts: 53
Joined: Fri Mar 14, 2008 11:37 am

Re: wineboot with comctl32 native

Post by xekhz »

vitamin wrote:
xekhz wrote:I am trying to overide the dll so that wine uses native comctl32 . That is why I have WINEOVERRIDES and WINEDLLPATH

Is this correct ???
No it's wrong. WINEDLLPATH is for builtin dlls. You have to copy native dlls into system32 or into program's directory. Wine will still use bultins unless you explicitly tell Wine to use natives.

On the separate note you should NEVER EVER override all those dlls. Go one at a time or you will break everything.

AND in case of comctl32.dll you still have to make an extra step. Otherwise Wine will still use it's own. That extra step - remove associated manifest file from windows/winesxs/manifests.
Thanks, for the info.
How did I read the oposite of what was written.....
Stupid me....
Thanks. Working 100%
Locked