Using .NET class from BMAX

BlitzMax Forums/BlitzMax Programming/Using .NET class from BMAX

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Hi !

I've written a library in C# and I would like to call some functions of this library from BMAX (and ideally map my C# classes to BMAX classes).
Is it possible ? If so, how do I declare my functions or classes in C# to make them visible from BMAX ?

I've successfully called C# function from BMAX with a Bridge dll written in Managed C++, but it's pretty heavy and unefficient.
(To TeraBit : I've seen you already done this (at least call functions), and I like to have details about the method you've used if possible.)

Best Regards,
JPL