Cannot Import dll: <utf8>kernelbase.dll (Windows 10)

Questions about Wine on macOS.
Post Reply
thorlucas
Newbie
Newbie
Posts: 1
Joined: Tue Apr 16, 2019 7:41 pm

Cannot Import dll: <utf8>kernelbase.dll (Windows 10)

Post by thorlucas » Tue Apr 16, 2019 7:44 pm

Hi, I'm having a bit of an issue here. I'm trying to install Zoo Tycoon. When running the setup, the program launches to an error. Apparently it can't import the kernelbase.dll. I'm not sure why it is prefixed with "<utf8>" either.

I tried downloading a kernelbase.dll copy from an online source and replacing the default kernelbase.dll in wine's system32, but that didn't work either.

I'm running wine on macOS. It is configured to run Windows 10.
Attachments
Screen Shot 2019-04-16 at 5.42.10 PM.png

SetantaLP
Level 2
Level 2
Posts: 29
Joined: Mon Jul 31, 2017 3:55 am

Re: Cannot Import dll: <utf8>kernelbase.dll (Windows 10)

Post by SetantaLP » Sat Apr 20, 2019 11:20 am

Fist, you should never directly replace dlls in wine's system 32, especially kernel-dlls, since the code might be completely different form the normal windows dll, even if the results are the same, since wine maps calls to windows system apis directly to the corresponding api on the host system (in this case macOS).
Concerning the error wine reports: I assume that the dll name has an additional character at the beginning, and wine (in contrast to windows) can't handle that, for an unknown reason. But maybe that can be fixed by switching to an older windows version (as long as the game supports that).

Post Reply