Thanks the quick reply. I reinstalled Fox-1.6 and then compiled FXRuby again. This time everthing went alright. Don't know what was wrong with the Fox installation in the first place. C++ test programs worked!! Anyway, thanks for your help. Stephen