comctl32.dll failed to initialize

Questions about Wine on macOS.
Locked
assf
Newbie
Newbie
Posts: 2
Joined: Fri Jul 10, 2020 5:28 am

comctl32.dll failed to initialize

Post by assf »

Hi,

I'm trying to run this program on Wine:

https://marketplace.microfocus.com/appd ... plorer-add

I was able to run the installer and install it, but then running the installed exe is failing with the error "comctl32.dll failed to initialize".

Things I tried:

1. Standard way

Code: Select all

cd ~/.wine/drive_c/Program\ Files\ \(x86\)/Micro\ Focus/ALM\ Explorer/
wine ALM-Explorer.exe
2. With native DLL:

Code: Select all

WINEDLLOVERRIDES="comctl32=n,b" wine ALM-Explorer.exe
3. With a DLL coming from my Windows laptop:

Code: Select all

cp ~/Downloads/comctl32.dll ~/.wine/drive_c/windows/system32
WINEDLLOVERRIDES="comctl32=n,b" wine ALM-Explorer.exe
I tried with the stable 5.0 and the staging 5.7 version of Wine.

Any help is much appreciated,
Thanks!
assf
Newbie
Newbie
Posts: 2
Joined: Fri Jul 10, 2020 5:28 am

Re: comctl32.dll failed to initialize

Post by assf »

I also tried with winetricks:

Code: Select all

winetricks comctl32

Code: Select all

winetricks dlls comctl32
warning: taskset/cpuset not available on your platform!
Executing mkdir -p /Users/alb
------------------------------------------------------
You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Using winetricks 20200412-next - sha256sum: 5c62bc038fd3ac7fa1e0d09123c61e1034cc5431719f5a1768dcb4bd91990cca with wine-5.7 (Staging) and WINEARCH=win64
Executing w_do_call comctl32
Executing mkdir -p /Users/alb
------------------------------------------------------
You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Executing load_comctl32 
Executing mkdir -p /Users/alb/.cache/winetricks/comctl32
Executing cd /Users/alb/.cache/winetricks/comctl32
Downloading https://downloads.sourceforge.net/project/pocmin/Win%2095_98%20Controls/Win%2095_98%20Controls/CC32inst.exe to /Users/alb/.cache/winetricks/comctl32
--2020-07-10 13:01:17--  https://downloads.sourceforge.net/project/pocmin/Win%2095_98%20Controls/Win%2095_98%20Controls/CC32inst.exe
Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 216.105.38.13
Connecting to downloads.sourceforge.net (downloads.sourceforge.net)|216.105.38.13|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://jztkft.dl.sourceforge.net/project/pocmin/Win%2095_98%20Controls/Win%2095_98%20Controls/CC32inst.exe [following]
--2020-07-10 13:01:18--  https://jztkft.dl.sourceforge.net/project/pocmin/Win%2095_98%20Controls/Win%2095_98%20Controls/CC32inst.exe
Resolving jztkft.dl.sourceforge.net (jztkft.dl.sourceforge.net)... 45.67.159.245
Connecting to jztkft.dl.sourceforge.net (jztkft.dl.sourceforge.net)|45.67.159.245|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://downloads.sourceforge.net/project/pocmin/Win%2095_98%20Controls/Win%2095_98%20Controls/CC32inst.exe?download&failedmirror=jztkft.dl.sourceforge.net [following]
--2020-07-10 13:01:18--  https://downloads.sourceforge.net/project/pocmin/Win%2095_98%20Controls/Win%2095_98%20Controls/CC32inst.exe?download&failedmirror=jztkft.dl.sourceforge.net
Connecting to downloads.sourceforge.net (downloads.sourceforge.net)|216.105.38.13|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://netcologne.dl.sourceforge.net/project/pocmin/Win%2095_98%20Controls/Win%2095_98%20Controls/CC32inst.exe [following]
--2020-07-10 13:01:19--  https://netcologne.dl.sourceforge.net/project/pocmin/Win%2095_98%20Controls/Win%2095_98%20Controls/CC32inst.exe
Resolving netcologne.dl.sourceforge.net (netcologne.dl.sourceforge.net)... 2001:4dd0:1234:6::5f, 78.35.24.46
Connecting to netcologne.dl.sourceforge.net (netcologne.dl.sourceforge.net)|2001:4dd0:1234:6::5f|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 587496 (574K) [application/octet-stream]
Saving to: ‘CC32inst.exe’

CC32inst.exe                 100%[=============================================>] 573.73K  3.73MB/s    in 0.2s    

2020-07-10 13:01:19 (3.73 MB/s) - ‘CC32inst.exe’ saved [587496/587496]

Executing cd /Users/alb/Downloads/ALM on mac
Executing wine /Users/alb/.cache/winetricks/comctl32/cc32inst.exe /T:C:\windows\Temp /c
004a:fixme:esync:do_esync eventfd not supported on this platform.
004c:fixme:esync:do_esync eventfd not supported on this platform.
Executing wine /Users/alb/.wine/dosdevices/c:/windows/temp/x86/50ComUpd.Exe /T:C:\windows\Temp /c
0053:fixme:esync:do_esync eventfd not supported on this platform.
Executing cp /Users/alb/.wine/dosdevices/c:/windows/temp/comcnt.dll /Users/alb/.wine/dosdevices/c:/windows/syswow64/comctl32.dll
Using native,builtin override for following DLLs: comctl32
Executing rm -rf /Users/alb/.wine/dosdevices/c:/windows/winsxs/manifests/amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.2600.2982_none_deadbeef.manifest
Executing rm -rf /Users/alb/.wine/dosdevices/c:/windows/winsxs/manifests/x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.2600.2982_none_deadbeef.manifest
Executing wine regedit C:\windows\Temp\override-dll.reg
0057:fixme:esync:do_esync eventfd not supported on this platform.
Executing wine64 regedit C:\windows\Temp\override-dll.reg
0059:fixme:esync:do_esync eventfd not supported on this platform.
0059:fixme:heap:RtlSetHeapInformation 0xd10000 0 0x31eea0 4 stub
0059:fixme:heap:RtlSetHeapInformation 0xd10000 0 0x31eea0 4 stub
0059:fixme:process:NtQueryInformationProcess (process=0xffffffffffffffff) Unimplemented information class: ProcessWx86Information
Using builtin override for following DLLs when running winecfg.exe: comctl32
Executing rm -rf /Users/alb/.wine/dosdevices/c:/windows/winsxs/manifests/amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.2600.2982_none_deadbeef.manifest
Executing rm -rf /Users/alb/.wine/dosdevices/c:/windows/winsxs/manifests/x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.2600.2982_none_deadbeef.manifest
Executing wine regedit C:\windows\Temp\override-dll.reg
005b:fixme:esync:do_esync eventfd not supported on this platform.
Executing wine64 regedit C:\windows\Temp\override-dll.reg
005d:fixme:esync:do_esync eventfd not supported on this platform.
005d:fixme:heap:RtlSetHeapInformation 0xd10000 0 0x31eea0 4 stub
005d:fixme:heap:RtlSetHeapInformation 0xd10000 0 0x31eea0 4 stub
005d:fixme:process:NtQueryInformationProcess (process=0xffffffffffffffff) Unimplemented information class: ProcessWx86Information
Executing rm /Users/alb/.wine/dosdevices/c:/windows/temp/override-dll.reg
Using builtin override for following DLLs when running explorer.exe: comctl32
Executing rm -rf /Users/alb/.wine/dosdevices/c:/windows/winsxs/manifests/amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.2600.2982_none_deadbeef.manifest
Executing rm -rf /Users/alb/.wine/dosdevices/c:/windows/winsxs/manifests/x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.2600.2982_none_deadbeef.manifest
Executing wine regedit C:\windows\Temp\override-dll.reg
005f:fixme:esync:do_esync eventfd not supported on this platform.
Executing wine64 regedit C:\windows\Temp\override-dll.reg
0061:fixme:esync:do_esync eventfd not supported on this platform.
0061:fixme:heap:RtlSetHeapInformation 0xd10000 0 0x31eea0 4 stub
0061:fixme:heap:RtlSetHeapInformation 0xd10000 0 0x31eea0 4 stub
0061:fixme:process:NtQueryInformationProcess (process=0xffffffffffffffff) Unimplemented information class: ProcessWx86Information
Executing rm /Users/alb/.wine/dosdevices/c:/windows/temp/override-dll.reg
Using builtin override for following DLLs when running iexplore.exe: comctl32
Executing rm -rf /Users/alb/.wine/dosdevices/c:/windows/winsxs/manifests/amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.2600.2982_none_deadbeef.manifest
Executing rm -rf /Users/alb/.wine/dosdevices/c:/windows/winsxs/manifests/x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.2600.2982_none_deadbeef.manifest
Executing wine regedit C:\windows\Temp\override-dll.reg
0063:fixme:esync:do_esync eventfd not supported on this platform.
Executing wine64 regedit C:\windows\Temp\override-dll.reg
0065:fixme:esync:do_esync eventfd not supported on this platform.
0065:fixme:heap:RtlSetHeapInformation 0xd10000 0 0x31eea0 4 stub
0065:fixme:heap:RtlSetHeapInformation 0xd10000 0 0x31eea0 4 stub
0065:fixme:process:NtQueryInformationProcess (process=0xffffffffffffffff) Unimplemented information class: ProcessWx86Information
Executing rm /Users/alb/.wine/dosdevices/c:/windows/temp/override-dll.reg
but still:

Code: Select all

$ wine ALM-Explorer.exe 
0009:fixme:esync:do_esync eventfd not supported on this platform.
000b:fixme:esync:do_esync eventfd not supported on this platform.
000b:fixme:winediag:__wine_start_process Wine Staging 5.7 is a testing version containing experimental patches.
000b:fixme:winediag:__wine_start_process Please mention your exact version when filing bug reports on winehq.org.
000d:fixme:esync:do_esync eventfd not supported on this platform.
000f:fixme:esync:do_esync eventfd not supported on this platform.
000d:fixme:heap:RtlSetHeapInformation 0xeb0000 0 0x21e400 4 stub
000d:fixme:heap:RtlSetHeapInformation 0xeb0000 0 0x21e400 4 stub
0012:fixme:esync:do_esync eventfd not supported on this platform.
0014:fixme:esync:do_esync eventfd not supported on this platform.
001b:fixme:esync:do_esync eventfd not supported on this platform.
001d:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\wineusb": c0000142
000f:fixme:service:scmdatabase_autostart_services Auto-start service L"wineusb" failed to start: 1114
0023:fixme:esync:do_esync eventfd not supported on this platform.
000b:fixme:heap:RtlSetHeapInformation 0xc70000 0 0x31e4d0 4 stub
000b:fixme:heap:RtlSetHeapInformation 0xc70000 0 0x31e4d0 4 stub
000b:fixme:process:NtQueryInformationProcess (process=0xffffffffffffffff) Unimplemented information class: ProcessWx86Information
000d:fixme:process:NtQueryInformationProcess (process=0xffffffffffffffff) Unimplemented information class: ProcessWx86Information
0009:err:module:LdrInitializeThunk "comctl32.dll" failed to initialize, aborting
0009:err:module:LdrInitializeThunk Initializing dlls for L"C:\\Program Files (x86)\\Micro Focus\\ALM Explorer\\ALM-Explorer.exe" failed, status c0000005
Same outcome by specifying native library:

Code: Select all

WINEDLLOVERRIDES="comctl32=n,b" wine ALM-Explorer.exe 
0009:fixme:esync:do_esync eventfd not supported on this platform.
000b:fixme:esync:do_esync eventfd not supported on this platform.
000b:fixme:winediag:__wine_start_process Wine Staging 5.7 is a testing version containing experimental patches.
000b:fixme:winediag:__wine_start_process Please mention your exact version when filing bug reports on winehq.org.
000d:fixme:esync:do_esync eventfd not supported on this platform.
000f:fixme:esync:do_esync eventfd not supported on this platform.
000d:fixme:heap:RtlSetHeapInformation 0xf00000 0 0x21e400 4 stub
000d:fixme:heap:RtlSetHeapInformation 0xf00000 0 0x21e400 4 stub
0012:fixme:esync:do_esync eventfd not supported on this platform.
0014:fixme:esync:do_esync eventfd not supported on this platform.
001b:fixme:esync:do_esync eventfd not supported on this platform.
001d:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\wineusb": c0000142
000f:fixme:service:scmdatabase_autostart_services Auto-start service L"wineusb" failed to start: 1114
0023:fixme:esync:do_esync eventfd not supported on this platform.
000b:fixme:heap:RtlSetHeapInformation 0xc70000 0 0x31e4d0 4 stub
000b:fixme:heap:RtlSetHeapInformation 0xc70000 0 0x31e4d0 4 stub
0014:fixme:heap:RtlSetHeapInformation 0x10e0000 0 0x31e910 4 stub
0014:fixme:heap:RtlSetHeapInformation 0x10e0000 0 0x31e910 4 stub
0014:fixme:process:NtQueryInformationProcess (process=0xffffffffffffffff) Unimplemented information class: ProcessWx86Information
000b:fixme:process:NtQueryInformationProcess (process=0xffffffffffffffff) Unimplemented information class: ProcessWx86Information
000d:fixme:process:NtQueryInformationProcess (process=0xffffffffffffffff) Unimplemented information class: ProcessWx86Information
0009:err:module:LdrInitializeThunk "comctl32.dll" failed to initialize, aborting
0009:err:module:LdrInitializeThunk Initializing dlls for L"C:\\Program Files (x86)\\Micro Focus\\ALM Explorer\\ALM-Explorer.exe" failed, status c0000005
Gcenx
Level 6
Level 6
Posts: 709
Joined: Mon Dec 25, 2017 12:11 pm

Re: comctl32.dll failed to initialize

Post by Gcenx »

Don’t just download a random dll, use winetricks for these kinda things as it will handle installing the needed dll and it’s dependencies (some dll files require other native dll files to function)

You could also try the latest versions of wine-devel or wine-staging use my releases you can find information on them here
Locked