Hi,

At Wed, 25 Apr 2007 08:25:07 +0900,
Josh Steiner wrote in [ruby-talk:249008]:
> thanks for the advice.  i spent some time looking at the source of the 
> ruby interpreter and it looks like search_required will only load .rb, 
> .so, .o or .dll on a windows machine.

Link *.lib and *.obj statically.

> the build process only cranks out 
> an .obj and a .lib file.  if i rename stringio.obj to stringio.so or 
> stringio.dll it tries to load it and fails with:
> 
> 193: %1 is not a valid Win32 application.   - ./stringio.so

Of course.  An object file isn't a DLL.

> interestingly, if i copy the stringio.so that i got from the one click 
> installer into my running folder for my embedded ruby i get the same 
> error. 

One click installer is built with VC6, but you use VC8.

-- 
Nobu Nakada