Getting WLDAP32.dll to work

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
kbmuse
Newbie
Newbie
Posts: 3
Joined: Wed May 14, 2014 3:39 pm

Getting WLDAP32.dll to work

Post by kbmuse »

HI All,

I'm trying to get an audio related .dll to work, but when I try to use it it says wldap32 is needed to work.

To that end I've tried copying wldap32.dll from a windows machine and adding it using regsvr32. When I do this the message I get is:

[Musician@Receptor system32]$ regsvr32 Wldap32.dll
err:module:import_dll Library API-MS-Win-Core-LocalRegistry-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\Wldap32.dll") not found
Failed to load DLL Wldap32.dll

This second .dll (API-MS) I'm having much more trouble with. I've copied this from windows as well, but I get a much more generic "could not load" when I try to add it using regsvr32

Anyone had experience trying to get wldap32 to run before? Any other tips? Many thanks.
hrik2001
Level 2
Level 2
Posts: 31
Joined: Tue Jun 03, 2014 10:43 am

Re: Getting WLDAP32.dll to work

Post by hrik2001 »

Whatever you are trying to do back off, you are dealing with system files. DOnt touch them restore them from another windows device or reinstall wine. It is a system file
kbmuse
Newbie
Newbie
Posts: 3
Joined: Wed May 14, 2014 3:39 pm

Re: Getting WLDAP32.dll to work

Post by kbmuse »

Well I think that's just the issue... they don't appear to be part of the normal WINE install. I have tried starting from a fresh wine install already and neither of the files mentioned in my first post seem to be included. When I'm trying new software like this I tend to use an isolated hard drive/wine install so that if anything goes bad I'm not losing any of my day-to-day system and documents.

I am using wine-1.3.24

Thanks in advance if you can think of anything else.

- Kevin
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Getting WLDAP32.dll to work

Post by dimesio »

kbmuse wrote: I am using wine-1.3.24
That version is almost 3 years old. Upgrade.
kbmuse
Newbie
Newbie
Posts: 3
Joined: Wed May 14, 2014 3:39 pm

Re: Getting WLDAP32.dll to work

Post by kbmuse »

Thanks, I will try upgrading.
Percy
Newbie
Newbie
Posts: 1
Joined: Tue Dec 16, 2014 5:52 pm

Re: Getting WLDAP32.dll to work

Post by Percy »

Hello, I have a related issue with Wldap32.dll.

Wine version:
wine-1.4.1

Main issue:
While installing Starcraft II I have the following message:
err:module:attach_process_dlls "WLDAP32.dll" failed to initialize, aborting

I'm running the command:
wine StarCraft-II-Setup-enUS.exe

My /drive_c/windows/system32/ folder neither had the Wldap32.dll file in beforehand.

While running regsvr32 with /u, /i or without any additional option I get the message:

regsvr32 WLDAP32.dll
Failed to load DLL wldap32.dll

I try to do this in order to fix this error message:
err:module:attach_process_dlls "WLDAP32.dll" failed to initialize, aborting
err:module:LdrInitializeThunk Main exe initialization for L"C:\\users\\Public\\Application Data\\Battle.net\\Agent\\Agent.3634\\Agent.exe" failed, status c0000142

Thanks in advance for your help.
spoon0042
Level 6
Level 6
Posts: 572
Joined: Thu Dec 24, 2009 11:00 am

Re: Getting WLDAP32.dll to work

Post by spoon0042 »

1.4.1 is still 2 1/2 years old. Same advice as the other guy.
Locked