LB Booster
General >> General Board >> Paste to editor window no longer working with WINE http://lbb.conforums.com/index.cgi?board=general&action=display&num=1512076448 Paste to editor window no longer working with WINE
Post by net2014 on Nov 30th, 2017, 8:14pm
Hi Richard,
Running LBB 3.09, Linux Wine 1.8, riched20.dll copied to wine/windows/system32
I can no longer paste code into the LBB editor, or copy/paste within the window. I don't know exactly when the problem started but it exists on three machines all running the same software versions. It may have been broken by updates but I have no record of when pasting last worked.
Is anyone else running LBB 3.09/Ubuntu 16/wine 1.8 and not seeing this problem?
By the way, copy/paste works ok in wine/Windows Notepad.
Any suggestions please?
Thanks.
Re: Paste to editor window no longer working with
Post by Richard Russell on Nov 30th, 2017, 9:50pm
I can no longer paste code into the LBB editor, or copy/paste within the window
Are you certain that you are using the genuine Windows DLL and not Wine's version? LBB's paste function uses the EM_PASTESPECIAL message and that is not implemented in Wine. So the most straightforward explanation is that you are not using the DLL you think you are using.
Quote:
riched20.dll copied to wine/windows/system32
I don't know about Wine, but on a 64-bit Windows installation the appropriate directory would be SysWOW64 not System32. And is it definitely the 32-bit version of the DLL?
Quote:
By the way, copy/paste works ok in wine/Windows Notepad.
I don't think that's relevant, because it is almost certainly using WM_PASTE not EM_PASTESPECIAL.
Quote:
Any suggestions please?
I think Wine allows you to override what DLL gets used by which application so I suggest you check whether any such overrides are in force. It is in any case not a good idea to use a 'global' solution (copying riched20.dll into the system directory) to a 'local' problem (LBB).
Richard. Re: Paste to editor window no longer working with
Post by net2014 on Dec 1st, 2017, 09:37am
Thank you once again, Richard. Having changed to 64bit systems, in my ignorance I copied riched20.dll to WINE windows/system32 folder. Copying to syswow64 brought my favourite programming tool back to full life again. Knowledge that I will remember now!
Oh, and I did add a dll override for LBB.exe Linux/wine rather than have a global override.