generative modeling for Rhino
Is it possible at all or am I dreaming too much? Or would there always need to be a .NET wrapper dll to a C++ dll for it to be used directly?
Tags:

Hi Suryansh,
you can call methods in unmanaged dlls using standard Interop methods (see PInvoke for a lot of examples). However the limitation is that only primitive data types can be coerced across the managed/unmanaged boundary. So you'll need to create a C++ SDK that can be used with purely primitive types. This is what we do with RhinoCommon btw. The Rhino SDK is not 'pinvokeable', so we create a pure C++ dll that exposes native Rhino SDK methods and classes in such a way that we can call them from the C# part of RhinoCommon.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
Added by David Stasiuk 8 Comments 21 Likes
Added by stefano 5 Comments 7 Likes
© 2013 Created by Scott Davidson.
Powered by