Error: err:module:LdrInitializeThunk Main exe initialization

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
RoseQueen
Newbie
Newbie
Posts: 4
Joined: Fri Oct 21, 2011 12:19 pm

Error: err:module:LdrInitializeThunk Main exe initialization

Post by RoseQueen »

Hello, I'm new at installing programs to use with wine (well, except the ones that just worked with no problems). I have been trying to run Payday: The Heist and I load up the exe in terminal and I get this:
err:module:import_dll Library d3dx9_40.dll (which is needed by L"C:\\ Program Files\\Payday The Heist\\payday_win32_release.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"C:\\ Program Files\\Payday The Heist\\payday_win32_release.exe" failed, status c0000135
Though, when I go into system32 and check in libraries in wine configuration, d3dx9_40.dll is there and set to native (in wine config).

I will admit that I am quite new to all of this so, if anyone helps, please make it simple for me.

Thank you for any help in advance.
jjmckenzie
Moderator
Moderator
Posts: 1153
Joined: Wed Apr 27, 2011 11:01 pm

Error: err:module:LdrInitializeThunk Main exe initialization

Post by jjmckenzie »

On Wed, Jan 25, 2012 at 9:05 AM, RoseQueen <[email protected]> wrote:
Hello, I'm new at installing programs to use with wine (well, except the ones that just worked with no problems). I have been trying to run Payday: The Heist and I load up the exe in terminal and I get this:

 err:module:import_dll Library d3dx9_40.dll (which is needed by L"C:\\ Program Files\\Payday The
Heist\\payday_win32_release.exe") not found
A script named winetricks should be able to assist with this.
http://wiki.winehq.org/winetricks is the Wine Wiki page for it.

Please visit this page for further information.

James
RoseQueen
Newbie
Newbie
Posts: 4
Joined: Fri Oct 21, 2011 12:19 pm

Post by RoseQueen »

Thank you, though when I looked into this page, they don't have d3dx9_40
http://wiki.winehq.org/DirectX-D3DX9
Or maybe I'm looking in the wrong place, which is probably more likely.
jjmckenzie
Moderator
Moderator
Posts: 1153
Joined: Wed Apr 27, 2011 11:01 pm

Error: err:module:LdrInitializeThunk Main exe initialization

Post by jjmckenzie »

On Wed, Jan 25, 2012 at 11:07 AM, RoseQueen <[email protected]> wrote:
Thank you, though when I looked into this page, they don't have d3dx9_40
http://wiki.winehq.org/DirectX-D3DX9
Or maybe I'm looking in the wrong place, which is probably more likely.
No. The winetricks script did not appear to have them either. I'll
contact the authors and if needed, get this corrected.

James
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Error: err:module:LdrInitializeThunk Main exe initializa

Post by vitamin »

RoseQueen wrote:err:module:import_dll Library d3dx9_40.dll (which is needed by L"C:\\ Program Files\\Payday The Heist\\payday_win32_release.exe") not found
Your Wine version is too old. Wine already have this dll since Jan 2 2009.
RoseQueen
Newbie
Newbie
Posts: 4
Joined: Fri Oct 21, 2011 12:19 pm

Re: Error: err:module:LdrInitializeThunk Main exe initializa

Post by RoseQueen »

vitamin wrote:
RoseQueen wrote:err:module:import_dll Library d3dx9_40.dll (which is needed by L"C:\\ Program Files\\Payday The Heist\\payday_win32_release.exe") not found
Your Wine version is too old. Wine already have this dll since Jan 2 2009.
I have version 1.3.15 of wine, is that an older version? Or is there a newer one?
User avatar
dimesio
Moderator
Moderator
Posts: 13368
Joined: Tue Mar 25, 2008 10:30 pm

Re: Error: err:module:LdrInitializeThunk Main exe initializa

Post by dimesio »

RoseQueen wrote: I have version 1.3.15 of wine, is that an older version? Or is there a newer one?
1.3.15 almost a year old. The current release is 1.4-rc1.
Locked