https://bugs.winehq.org/show_bug.cgi?id=25684
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Created attachment 51572 --> https://bugs.winehq.org/attachment.cgi?id=51572 Release the Win16 lock when loading a 32-bit dll.
You could try something like this.