From: nobu.nokada@... Date: 2003-09-24T15:02:17+09:00 Subject: Re: Embedded Ruby in a MSVC++ project? Hi, At Fri, 19 Sep 2003 08:43:07 +0900, Ben Giddings wrote: > In fact, things seem to be working well, but I can't seem to load the Ruby > file. I've tried with the file in the project directory, as well as in the > Debug directory, but Ruby doesn't seem to find it. Any suggestions on how > I can figure out Ruby's load-path? (Normally I'd do rb_p("$:") or > something similar, but since this is a GUI project I don't know where > stdout/stderr go). Do you call rb_init_loadpath()? And you will need to call $stdout.reopen to use rb_p(). -- Nobu Nakada