# FXApp.create problem after fresh One-Click win98 install

**URL:** <https://www.ruby-forum.com/t/fxapp-create-problem-after-fresh-one-click-win98-install/101433>\
**Category:** Ruby\
**Created:** [August 4, 2006, 8:45pm UTC](https://www.ruby-forum.com/t/fxapp-create-problem-after-fresh-one-click-win98-install/101433 "2006-08-04T20:45:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [August 4, 2006, 8:45pm UTC](https://www.ruby-forum.com/t/fxapp-create-problem-after-fresh-one-click-win98-install/101433/1 "2006-08-04T20:45:56Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [August 4, 2006, 8:57pm UTC](https://www.ruby-forum.com/t/fxapp-create-problem-after-fresh-one-click-win98-install/101433/2 "2006-08-04T20:57:59Z")

</div>

On 8/4/06, removed\_email\_address@domain.invalid [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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).

---

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [August 4, 2006, 9:06pm UTC](https://www.ruby-forum.com/t/fxapp-create-problem-after-fresh-one-click-win98-install/101433/3 "2006-08-04T21:06:59Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [August 4, 2006, 9:31pm UTC](https://www.ruby-forum.com/t/fxapp-create-problem-after-fresh-one-click-win98-install/101433/4 "2006-08-04T21:31:05Z")

</div>

On 8/4/06, removed\_email\_address@domain.invalid [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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

---

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [August 4, 2006, 11:22pm UTC](https://www.ruby-forum.com/t/fxapp-create-problem-after-fresh-one-click-win98-install/101433/5 "2006-08-04T23:22:33Z")

</div>

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
