Re: [Ironruby-core] IronRuby not loading DLL

2011-03-25 Thread Tomas Matousek
You need to use const_get to access classes/namespaces whose names are not compatible with Ruby naming conventions. A module in Ruby must start with capital ASCII letter. const_get(:mdMATCHUPOBJECTLib).const_get(:mdMUIncrementalClass).new should work. Tomas -Original Message- From: iro

Re: [Ironruby-core] IronRuby not loading DLL

2011-03-25 Thread Jones, Larry
I may be totally "off base," but have you tried using the fusion viewer to ensure that you do not have a problem with .NET loading the DLL (and its underlying COM object). --- Larry Jones ||| Senior Level Development Engineer Aspen Technology, Inc. ||| +1 281-504-3324 ||| fax: 281-584-1062 ||| www

Re: [Ironruby-core] Ruby FFI port

2011-03-25 Thread Wayne Meissner
That sounds like a good plan. Much of the CRuby version of FFI used to be written in ruby, until people had the quaint notion that it shouldn't be as slow as it was, and I moved most of the implementation into C. dlopen and friends are usually in the libdl library on most unixen. I can't remembe

Re: [Ironruby-core] Ruby FFI port

2011-03-25 Thread Charles Strahan
Sweet - thank you for the tip, Wayne! Here's my current plan: - All Ruby classes defined inside of ffi_c will be ported to Ruby, where I'll call into my C# lib where it makes sense. - Because my poor brain can only handle so much context-switching, I'll stub out all of the Ruby classe