comctl32 unable to load

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Ivraine
Level 1
Level 1
Posts: 9
Joined: Sat Jun 19, 2010 2:06 pm

comctl32 unable to load

Post by Ivraine »

Hey, I was trying to get a few of my own programs on windows to work under wine, and while trying to get my installer to work, overrode comctl32.dll, which is a required library for winecfg to work, so now I am stuck with a bunch of programs and winecfg all not working at all. As far as I can tell, this dll is full of common controls for windows programs, and must somewhere be used by wine.

What I need help with is to figure out how to get an alternative dll to work (I noticed the dll in the error is actually commctrl.dll, but from what I have read, wine uses comctl.dll) or an outside way to control overrides in ubuntu 10.04. Any help would be most appreciated.
Ivraine
Level 1
Level 1
Posts: 9
Joined: Sat Jun 19, 2010 2:06 pm

Post by Ivraine »

as an update, I managed to get the first error fixed by getting commctrl.dll, and it was as I guessed, a seperate dll, but now I am having problems with kernel32.dll, and the error is as follows:

xxxxxxx@xxxxxxx:~$ winecfg
err:process:__wine_kernel_init boot event wait timed out
err:module:find_forwarded_export function not found for forward 'krnl386.exe16.GetProcessDword' used by L"C:\\windows\\system32\\KERNEL32.dll". If you are using builtin L"KERNEL32.dll", try using the native one instead.

How do I use the "native" Kernel32?
James McKenzie

comctl32 unable to load

Post by James McKenzie »

Ivraine wrote:
Hey, I was trying to get a few of my own programs on windows to work under wine, and while trying to get my installer to work, overrode comctl32.dll, which is a required library for winecfg to work, so now I am stuck with a bunch of programs and winecfg all not working at all. As far as I can tell, this dll is full of common controls for windows programs, and must somewhere be used by wine.

These would not happen to be .NET programs would they? If so, you will
have to use winetricks to install the appropriate version of .NET. .NET
directly from Microsoft will not properly install in Wine.

James McKenzie
Ivraine
Level 1
Level 1
Posts: 9
Joined: Sat Jun 19, 2010 2:06 pm

Post by Ivraine »

No, they are programs that I have made for work, as side projects to better control software, and the like. The problem I am having is actually with Kernel32.dll, which needs to be run natively, but I dont know how without the winecfg. Is there any way to make a command to make a dll run natively without having to use winecfg?

BTW, my current error looks like this:

err:process:__wine_kernel_init boot event wait timed out
err:module:find_forwarded_export function not found for forward 'krnl386.exe16.GetProcessDword' used by L"C:\\windows\\system32\\KERNEL32.dll". If you are using builtin L"KERNEL32.dll", try using the native one instead.
Ivraine
Level 1
Level 1
Posts: 9
Joined: Sat Jun 19, 2010 2:06 pm

Post by Ivraine »

ok, I successfully managed to work through the problems with wine, I think it was a problem with some of the files left over from my update to 1.2-rc3, and then switching back to 1.1.42. I am happy to say that my homebrew installer is now coming along just fine, so I will never have to use windows on my office computer again...
James McKenzie

comctl32 unable to load

Post by James McKenzie »

Ivraine wrote:
No, they are programs that I have made for work, as side projects to better control software, and the like. The problem I am having is actually with Kernel32.dll, which needs to be run natively, but I dont know how without the winecfg. Is there any way to make a command to make a dll run natively without having to use winecfg?

Just for future reference, kernel32.dll is a core Wine dll and cannot be
replaced with the native one. Looks like you have broken your Wine
installation.

I did read your other message and good luck. You might want to join the
Wine Developers mailing list just to keep us up on what you are doing
and what does or does not work. Also, we are always looking for folks
to fix some of the unimplemented code and this must be done in a clean
room environment....

James McKenzie
Ivraine
Level 1
Level 1
Posts: 9
Joined: Sat Jun 19, 2010 2:06 pm

Post by Ivraine »

Yeah, I ended up moving .wine out, and it worked fine, I think I will join the mailing list. I do believe it is now time to start on my game collections, which should (hopefully) only take 2-3 hours to do.
James McKenzie

comctl32 unable to load

Post by James McKenzie »

Ivraine wrote:
Yeah, I ended up moving .wine out, and it worked fine, I think I will join the mailing list. I do believe it is now time to start on my game collections, which should (hopefully) only take 2-3 hours to do.
In this case, you might want to update any existing Applications
Database entries with your findings. Some of the entries are old and
really need to be updated.

James McKenzie
Locked