[Win32utils-devel] FFI and msvcrt

Daniel Berger djberg96 at gmail.com
Sat Apr 7 08:21:50 UTC 2012


Hi,

I've been using FFI with a Ruby 1.9.3 built with MSVC++ and it's been
working well. One thing I've run into though is this:

ffi_lib :msvcrt

But that's not the runtime I want. But I don't want to hard code the
runtime name either. I realize I could parse it out of RbConfig, but I
was hoping for something nicer.

Is there a way we could create an analogue to FFI::Library::LIBC for
the MSVC runtime? Something like FFI::Library::MSVCRT ?

Regards,

Dan


More information about the win32utils-devel mailing list