[Win32utils-devel] Possible problem with msvcrt vs msvcrXX

Daniel Berger djberg96 at gmail.com
Wed Jun 24 12:25:27 EDT 2009


I tried this with a version of Ruby I built with VC++ 2008:

irb(main):005:0> strlen = API.new('strlen', 'P', 'L', 'msvcrt')
=> #<Win32::API:0x4774684>

irb(main):006:0> strlen = API.new('strlen', 'P', 'L', 'msvcr90')
Win32::API::LoadLibraryError: LoadLibrary() function failed for 'msvcr90':
The specified module could not be found.
        from (irb):6:in `initialize'
        from (irb):6:in `new'
        from (irb):6

Do I have an environment issue? Do we need to revisit windows-api with
regards to how it sets MSVCRT_DLL?



More information about the win32utils-devel mailing list