Wine won't load native DLLs

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
TonyPursell
Level 2
Level 2
Posts: 10
Joined: Sun Jun 22, 2008 9:44 am

Wine won't load native DLLs

Post by TonyPursell »

Hi all

I signed myself up as the appdb maintainer to TaxCalc about a year ago so I thought it about time I did something to try and get it to work.

I know it does not work 'out of the box' so I was trying to use a few DLL overrides to pin down which native Wine libraries were causing difficulties (and so I can give some guidance on appdb). I have addeed taxcalc.exe in wine configuration then added some DLL override as native. All I get is

tony@osiris:~$ wine "C:\\Program Files\\taxcalc 2008\\taxcalc.exe"
err:module:import_dll Library ole32.dll (which is needed by L"C:\\Program Files\\taxcalc 2008\\taxcalc.exe") not found
err:module:import_dll Library OLEAUT32.dll (which is needed by L"C:\\Program Files\\taxcalc 2008\\taxcalc.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"C:\\Program Files\\taxcalc 2008\\taxcalc.exe" failed, status c0000135

It looks like Wine cannot find the DLLs. They are in System32 (in Linux) and I have used regsvr32 to register them.

What am I doing wrong?

Tony
Dutchy
Level 1
Level 1
Posts: 8
Joined: Wed May 28, 2008 7:32 am

Wine won't load native DLLs

Post by Dutchy »

Are you adding the actual native dll's? Try getting them from a site
like dll-files.com and putting them in the application's folder.

On Sun, Jun 22, 2008 at 5:10 PM, TonyPursell <[email protected]> wrote:
Hi all

I signed myself up as the appdb maintainer to TaxCalc about a year ago so I thought it about time I did something to try and get it to work.

I know it does not work 'out of the box' so I was trying to use a few DLL overrides to pin down which native Wine libraries were causing difficulties (and so I can give some guidance on appdb). I have addeed taxcalc.exe in wine configuration then added some DLL override as native. All I get is

tony@osiris:~$ wine "C:\\Program Files\\taxcalc 2008\\taxcalc.exe"
err:module:import_dll Library ole32.dll (which is needed by L"C:\\Program Files\\taxcalc 2008\\taxcalc.exe") not found
err:module:import_dll Library OLEAUT32.dll (which is needed by L"C:\\Program Files\\taxcalc 2008\\taxcalc.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"C:\\Program Files\\taxcalc 2008\\taxcalc.exe" failed, status c0000135

It looks like Wine cannot find the DLLs. They are in System32 (in Linux) and I have used regsvr32 to register them.

What am I doing wrong?

Tony




TonyPursell
Level 2
Level 2
Posts: 10
Joined: Sun Jun 22, 2008 9:44 am

Post by TonyPursell »

They are native DLL's which were installed by the application, but if I need any I can get them from my Windows partition. I have them in both the system32 folder and the application's folder.
User avatar
dimesio
Moderator
Moderator
Posts: 13368
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

They are native DLL's which were installed by the application, but if I need any I can get them from my Windows partition. I have them in both the system32 folder and the application's folder.
If you mean the files that Wine puts in its fake windows/system32 directory, those are not real dlls. They are dummy files meant to fool programs that check that directory for dlls and won't run if they don't find them. For the override to work, you need to copy the real dll files from your Windows partition to that directory.
TonyPursell
Level 2
Level 2
Posts: 10
Joined: Sun Jun 22, 2008 9:44 am

Post by TonyPursell »

Thanks for that - I can get to work testing TaxCalc now
Locked