From: Nick Date: 2005-02-23T13:48:03+09:00 Subject: Re: Visual C++ Run-time error with rubyw.exe Make sure you don't have any stray 'puts' in your code for debugging - that usually crashed rubyw when I was using it with wxRuby. Nick Matt Mower wrote: > Hi folks, > > I hope someone can help me with this. I'm using the latest one-click > installer of Ruby 1.8.2 on Windows XP-SP1 and am having problems with > rubyw (i.e. the headless ruby interpreter). > > I have no problems with ruby.exe and for a simple test (e.g. writing a > line of text to a file) rubyw works okay, however for applications > which make use of fxruby I get the following error reported: > > |--------------------------- > |Microsoft Visual C++ Runtime Library > |--------------------------- > |Runtime Error! > | > |Program: c:\ruby\bin\rubyw.exe > | > |This application has requested the Runtime to terminate it in an unusual way. > |Please contact the application's support team for more information. > | > > On advice from Curt Hibbs I deleted all previous fxruby installations > and made sure that I had the latest fxruby installed, i.e. 1.2.3 > (ms-win32). > > Whenever I run an app it opens the window, maybe paints the contents, > and then crashes. > > Can anyone help me fix this? > > Regards, > > Matt >