[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Loading shared libraries built by Visual Studio C++ 8

unknown

12/29/2005 1:19:00 AM

Hi!

I have Ruby 1.8.2 (Windows One-click installer - thanks, Curt!)
and used to use Visual C++ 6.0 for a long time to create shared libs
(using SWIG and extconf.rb) that I could load in with "require"... but
now that I've upgraded to Visual Studio C++ 8.0, I get the following
error after recompiling everything:

Microsoft Visual C++ Runtime Library
Runtime Error!
Program: c:\ruby\bin\ruby.exe
R6034
An application has made an attempt to load the C runtime library incorrectly.
Please contact the application's support team for more information.

Any ideas on what I'm doing wrong or how to fix this?

Thanks!
-- Glenn Lewis
1 Answer

Nakada, Nobuyoshi

12/29/2005 4:16:00 AM

0

Hi,

At Thu, 29 Dec 2005 10:22:55 +0900,
Glenn M. Lewis wrote in [ruby-talk:172904]:
> I have Ruby 1.8.2 (Windows One-click installer - thanks, Curt!)
> and used to use Visual C++ 6.0 for a long time to create shared libs
> (using SWIG and extconf.rb) that I could load in with "require"... but
> now that I've upgraded to Visual Studio C++ 8.0, I get the following
> error after recompiling everything:

VC6 and VC8 use the different versions of runtime DLL. You
can't mix them because of the restriction of Windows DLL
loader mechanism.

--
Nobu Nakada