LB Booster
General >> General Board >> LBB and linux/wine
http://lbb.conforums.com/index.cgi?board=general&action=display&num=1439821797

LBB and linux/wine
Post by net2014 on Aug 17th, 2015, 2:29pm

Anyone here running LBB in linux/wine version 1.7.30?

If so what are your findings? I can no longer run LBB in the above version of wine, although it ran fine until recently. LBB starts and opens its window but crashes without any error message when I try and load a bas file. Files created by LBB in %Temp%/lib/ are left behind, they are usually deleted when LBB closes normally.

I assume an update has broken it, I think the previous wine version was 1.4.

I don't want to revert to wine 1.4 (if that is even possible) until others can confirm the same problem.

Thanks for any input.

Re: LBB and linux/wine
Post by Richard Russell on Aug 17th, 2015, 3:52pm

on Aug 17th, 2015, 2:29pm, net2014 wrote:
Anyone here running LBB in linux/wine version 1.7.30?

I've not tried it on anything later than Wine 1.4. It would indeed be annoying if an update to Wine had actually worsened compatibility, but it's happened before!

Quote:
LBB starts and opens its window but crashes without any error message when I try and load a bas file.

What happens if you specify the BAS file on the 'command line' rather than loading it after LBB has started?

Richard.
Re: LBB and linux/wine
Post by Richard Russell on Aug 17th, 2015, 4:23pm

on Aug 17th, 2015, 2:29pm, net2014 wrote:
I don't want to revert to wine 1.4 (if that is even possible) until others can confirm the same problem.

I can confirm a crash with Wine 1.6.2. It seems to be due to the syntax colouring, so - if yours is the same problem - a workaround may be to turn it off (Options... Syntax Coloring).

Edit: OK I know what's causing the syntax colouring crash. It's a slightly different behaviour by the RichEdit control (RICHED20.DLL), which is allowed by the MSDN spec so isn't a Wine fault as such. I can fix it in LBB.

Richard.
Re: LBB and linux/wine
Post by net2014 on Aug 17th, 2015, 7:04pm

Thanks Richard, what would we do without you?

I can confirm that switching off syntax colouring allows a file to be loaded and run successfully cool

I take note that the problem lies with LLB and that you can correct it. Will await further news from you.

Many thanks again.

Re: LBB and linux/wine
Post by Richard Russell on Aug 17th, 2015, 7:17pm

on Aug 17th, 2015, 7:04pm, net2014 wrote:
I take note that the problem lies with LLB

It's a bit of a leap from what I said to "the problem lies with LBB"! If Wine behaves differently from 'genuine' Windows the 'fault' lies with Wine (since it has to be compatible with how Windows actually works, not just with how it is documented to work).

Still, I should be able to modify LBB to be compatible with both.

Richard.
Re: LBB and linux/wine
Post by net2014 on Aug 17th, 2015, 7:43pm

What about (dare I say it) wines ability to use an alternate dll. Copy riched20.dll over from XP? Would that avoid the need to modify LBB? I could test it if need be.
Re: LBB and linux/wine
Post by Richard Russell on Aug 17th, 2015, 8:08pm

on Aug 17th, 2015, 7:43pm, net2014 wrote:
Copy riched20.dll over from XP? I could test it if need be.

You can do that with some DLLs but not with others, and I can't remember which category RICHED20.DLL is in, but feel free to try it.

Fortunately I was in any case planning a version 3.01 of LBB to incorporate INPUTCSV (see the other thread) so I can kill two birds with one stone.

Richard.