From: Durgaprasad Gorti Date: 2009-06-08T13:50:56+09:00 Subject: Hosting Ruby in C# ------=_NextPart_000_0015_01C9E7B9.5008F4A0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Folks, I am trying to integrate Ruby into a C# app. For this, I am trying to use the .NET interop. It looks like the dll I would like use (On windows Platform) is the msvcrt-ruby18.dll. The dll above seems to export routines with _ prefix such as _rub_init(). So technically I could do A [dllimport and use _ruby_init ] as the function to call. To verify my theory, I looked at the ruby.h and I was hoping To find an ifdef that defines ruby_init (without the underscore) to _ruby_init (with underscore) I can't find such a thing. So my question here is if I am trying to load the msvcrt-ruby18.dll and call functions from the dll, should/could I call these functions with leading underscores? Thanks for your help. Durgaprasad Gorti http://blogs.msdn.com/dgorti ------=_NextPart_000_0015_01C9E7B9.5008F4A0--