Hi, I checked the code and it appears that all those lines are just global variable definitions. Also, when I open the file manually (in C) and just run "rb_eval_string" on each line, the program is fine. (At least, "rb_load" is really the correct function that I need?) Regards, Bill =========================================================================== nobu.nokada / softhome.net wrote: >> ..... >> rb_load (rb_str_new2 ("conf.rb"), 0); >> ..... >> >> the program crashed. The strange thins is, if I moved the code several >> lines up, the program is OK, but it is not its correct place as the >> configuration parameters will be rewritten by the defaults in the >> extension itself. > Perhaps, the code in that several lines is something wrong. > -- > Nobu Nakada