From: nobu.nokada@... Date: 2004-06-10T11:06:17+09:00 Subject: Re: novice ruby embed question Hi, At Wed, 9 Jun 2004 17:26:08 +0900, Bill Kelly wrote in [ruby-talk:102909]: > { int status; > #ifdef _WIN32 > // ruby win32 init > NtInitialize(&argc, &argv); > #endif > > ruby_init(); > ruby_script("embedded"); > rb_load_protect(rb_str_new2("test.rb"), 0, &status); if (status == 0) { ruby_run(); } > } -- Nobu Nakada