libuser32.dll

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Greatsamps
Newbie
Newbie
Posts: 2
Joined: Tue Sep 10, 2019 5:44 am

libuser32.dll

Post by Greatsamps »

Hi,

We have an application that we have written that needs to use the user32.dll to access the WinAPI. The purpose of this application is to parse window data from another app. It runs fine on Windows, however we get the following exception when running under wine (latest)

nhandled exception. System.DllNotFoundException: Unable to load shared library 'user32.dll' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libuser32.dll: cannot open shared object file: No such file or directory
at WindowNameFinderII.Program.FindWindowEx(IntPtr parentHandle, IntPtr hWndChildAfter, String className, String windowTitle)
at WindowNameFinderII.Program.<>c.<Main>b__1_0(Process s) in C:\Users\Administrator\source\repos\WindowNameFinderII\Program.cs:line 19
at System.Collections.Generic.List`1.ForEach(Action`1 action)
at WindowNameFinderII.Program.Main(String[] args) in C:\Users\Administrator\source\repos\WindowNameFinderII\Program.cs:line 16

We have verified that there is no libuser32.dll present on the machine.

Is this supported, or any workaround possible?
User avatar
DarkShadow44
Level 8
Level 8
Posts: 1207
Joined: Tue Nov 22, 2016 5:39 pm

Re: libuser32.dll

Post by DarkShadow44 »

Well, I don't think Wine has "libuser32.dll", but it does have "user32.dll"

How exactly are you doing what you're doing? Minimal sample to reproduce the issue?
Locked