Wine doesn't see imported DLLs

Asked by Ragnar

Hi all! Here's another riddle for you, ppl : seems, wine doesn't see imported DLLs. I copy a dll into c:\windows\system32, but winecfg doesn't show it in override list of DLLs. Anything else should be done, or is it a bug every1 has?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu wine Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

If you just type it instead, does that work?

Revision history for this message
Christian Dannie Storgaard (cybolic) said :
#2

The override list does not show which library files you have copied to the directory, instead it shows which loading priority overrides you have created.

For example, if you want to always have your copied library - let's call it test32.dll - loaded before Wine's own implementation, you would add an override for "test32" with a value of "native,builtin".
If instead you wanted to _only_ ever load the copied library, you would set the value to "native".
To disable loading the library completely, set it to "disabled".

Revision history for this message
Christian Dannie Storgaard (cybolic) said :
#3

Also, if you want to make sure that Wine knows about a library (it usually figures it out by itself, but sometimes...), you can run the following command:
    regsvr32 dllfilename.dll

Revision history for this message
ghphpr (ghphpr) said :
#4

Please remove me from your list of contacts
Thank You

Gerald Hooper

On 27 September 2010 19:44, Christian Dannie Storgaard
<email address hidden> wrote:
> Question #127028 on wine in ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/wine/+question/127028
>
> Christian Dannie Storgaard posted a new comment:
> Also, if you want to make sure that Wine knows about a library (it usually figures it out by itself, but sometimes...), you can run the following command:
>    regsvr32 dllfilename.dll
>
> --
> You received this question notification because you are an answer
> contact for wine in ubuntu.
>

Revision history for this message
Ragnar (irnbld) said :
#5

rgnr@ajax:~$ regsvr32 xlive.dll
fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for bias -120, std (d/m/y): 12/09/2010, dlt (d/m/y): 26/03/2010
fixme:wtsapi:WTSQuerySessionInformationW Stub (nil) 0xffffffff 4 0x94e6c4 0x94e6bc
fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.VC90.CRT" (9.0.21022.8)
err:module:import_dll Library MSVCP90.dll (which is needed by L"C:\\windows\\system32\\xlive.dll") not found
Failed to load DLL xlive.dll

But it's there! :(

Revision history for this message
Christian Dannie Storgaard (cybolic) said :
#6

It looks like you need to install Microsoft Visual C++ 2008.
If you have winetricks installed (can be installed through Software Center), you can run:
    winetricks vcrun2008
to install it in Wine.

In general winetricks is a pretty neat solution for installing many things.

Revision history for this message
Ragnar (irnbld) said :
#7

vc2008 doesn't help (

Revision history for this message
Christian Dannie Storgaard (cybolic) said :
#8

Hmm... have your tried running:
    winetrick gfw
then? That's supposed to handle the installation of xlive.dll for you.

Can you help with this problem?

Provide an answer of your own, or ask Ragnar for more information if necessary.

To post a message you must log in.