FXApp.create problem after fresh One-Click win98 install

just ran ruby184-20.exe on win98 box and rebooted

getting this after running FXRuby test.rb
“abnormal program termination”

require ‘fox16’
include Fox
application = FXApp.new(“Hello”, “FoxTest”)
main = FXMainWindow.new(application, “Hello”, nil, nil, DECOR_ALL)
FXButton.new(main, “&Hello, World!”, nil, application, FXApp::ID_QUIT)
application.create()
main.show(PLACEMENT_SCREEN)
application.run()

don’t get the abnormal termination if I comment out application.create,
but, of course, nothing “happens” without create

any advice?

thanks

On 8/4/06, [email protected] [email protected] wrote:

just ran ruby184-20.exe on win98 box and rebooted

getting this after running FXRuby test.rb
“abnormal program termination”

No idea right offhand, but a few questions:

Do any of the other FXRuby 1.6 example programs work, or do they all
crash like this?
What about FXRuby 1.4 (or 1.2, for that matter)? Do the examples for
those older releases work properly on your machine?

I’m trying to understand whether this is a new problem for you, or if
it’s just the case that FOX and FXRuby don’t work on Windows 98. (I
have no way of testing the code on Win98).

Lyle J. wrote:

Do any of the other FXRuby 1.6 example programs work, or do they all
crash like this?
What about FXRuby 1.4 (or 1.2, for that matter)? Do the examples for
those older releases work properly on your machine?

all of the 1.6 examples crash in the same way

I’ve built FXRuby applications on this win98 box with fxruby 1.4 and
ruby 1.8.0 - no problems

thanks

On 8/4/06, [email protected] [email protected] wrote:

all of the 1.6 examples crash in the same way

I’ve built FXRuby applications on this win98 box with fxruby 1.4 and
ruby 1.8.0 - no problems

OK. I searched the FOX users mailing list and it looks like there is
an issue related to FOX 1.6 and Windows 95/98/Me due to the
introduction of Unicode support in FOX 1.6. Here is a web page that
(just barely) discusses the issue, and recommends that you download
and install the “Microsoft Layer for Unicode on Windows 95/98/Me
Systems,” found here:

http://www.microsoft.com/globaldev/handson/dev/mslu_announce.mspx

I have no idea if this will correct the problem that you’re seeing,
but I think it’s worth a shot.

Hope this helps,

Lyle

Lyle J. wrote:

OK. I searched the FOX users mailing list and it looks like there is
an issue related to FOX 1.6 and Windows 95/98/Me due to the
introduction of Unicode support in FOX 1.6. Here is a web page that
(just barely) discusses the issue, and recommends that you download
and install the “Microsoft Layer for Unicode on Windows 95/98/Me
Systems,” found here:

http://www.microsoft.com/globaldev/handson/dev/mslu_announce.mspx

Lyle,

Thanks for researching this matter.

I downloaded the MSLU dll but can’t figure out how to load it or
otherwise put it to use. Don’t know if I need the associated lib file,
which isn’t included in the download (would have to download the entire
Platform SDK to get unicows.lib)

So, having no time to fuss around with this, it looks like I’m back
with 1.4 until I ditch win98.

Cheers,

Bobby