Oxygen Basic

Programming => Problems & Solutions => Topic started by: JRS on April 01, 2011, 10:10:44 PM

Title: Wine(ing)
Post by: JRS on April 01, 2011, 10:10:44 PM
Hi Charles,

I downloaded your A-30 release and tried a few of the examples under Wine. The GUI->dual OpenGL example still crashes when the main window is resized. I tried one your COM examples and it looks like it worked fine. I also gave the new GDI example a try.

Code: [Select]
'-----------------------------------------
'C {} blocks
'=========================================
 
'$ FileName t
'include "..\..\inc\RTL32.inc"

cr=chr(13) chr(10)

type guid
  a as dword
  b as word
  c as word
  d(8) as byte
end type

guid clsid

'WITH OR WITHOUT CURLY BRACES

guidval clsid, "96749377-3391-11D2-9EE3-00C04F797396"

print "INPUT" cr +
      "{96749377-3391-11D2-9EE3-00C04F797396}" cr +
      "CHECK" cr +
      guidtxt(clsid)



[attachment deleted by admin]

[attachment deleted by admin]
Title: Re: Wine(ing)
Post by: Charles Pegge on April 02, 2011, 01:54:35 AM
Thanks John. I'm glad the GDIplus image demo worked. But getting MS COM speech to work is a long shot. There are GUIDs which may reference proprietary MS components. And the dual OpenGL windows is almost certainly a driver issue since it worked on my PC. However I found the Frame rate for the Opengl demos rather slow under Wine.

Charles
Title: Re: Wine(ing)
Post by: JRS on April 02, 2011, 11:07:50 AM
Quote
However I found the Frame rate for the Opengl demos rather slow under Wine.

I use Wine to test Basic languages that only run under Windows. (so I don't have to boot the XP partition on my HD) The Bible word count code challenge ran three times slower under Wine using Windows SB than running the same script under Linux native. Until Wine is embedded into the Linux kernel, there will always be the emulation factor to deal with.

Quote
And the dual OpenGL windows is almost certainly a driver issue since it worked on my PC.

Sorry. I remember we covered this issue and it being my old HP POS laptop. Thanks for the painful reminder.  :'(
Title: Re: Wine(ing)
Post by: JRS on April 06, 2011, 10:52:14 PM
My laptop crapped out on me so I had to move the hard drive to a desktop unit. I tried your dual GL demo and the resize worked perfect under Wine.

Title: Re: Wine(ing)
Post by: Charles Pegge on April 06, 2011, 11:52:02 PM
Hi John,

Sorry to hear about your incontinent Laptop but it is very good to know that this example works under Wine on your PC. - does it have an ATI/Nvidia graphics card? I think most of the Laptops use an Intel device.

Charles
Title: Re: Wine(ing)
Post by: JRS on April 07, 2011, 08:08:33 AM
The old laptop has a ATI (64 MB) video card. The desktop has a Nvidia (128 MB) graphics card. Resizing the main window was smooth and worked without exception.