Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.
added 1 characters in body; edited title
Source Link
Chris Laplante
  • 29.7k
  • 18
  • 110
  • 137

Access DotNet.Net classes from C++?

I'm currently trying to expose a scripting language (similar to Forth, but not quite) written in C++, to C# and vice versa. Exposing C++ to C# is not difficult, and I already know how to do that.

However, I also want to expose DotNet.Net classes to the scripting language, as in, access those classes within C++. I would like to keep the code crossplatform, so a method that makes it possible to use it with Mono would be greatly preferedpreferred.

A quick google search sort-of implied that this can only be achieved by using VisualStudioVisual Studio, but I'm sure that there has got to be a different way to achieve this?

My apologies if this question is not wellformedwell-formed.

Access DotNet classes from C++?

I'm currently trying to expose a scripting language (similar to Forth, but not quite) written in C++, to C# and vice versa. Exposing C++ to C# is not difficult, and I already know how to do that.

However, I also want to expose DotNet classes to the scripting language, as in, access those classes within C++. I would like to keep the code crossplatform, so a method that makes it possible to use it with Mono would be greatly prefered.

A quick google search sort-of implied that this can only be achieved by using VisualStudio, but I'm sure that there has got to be a different way to achieve this?

My apologies if this question is not wellformed.

Access .Net classes from C++?

I'm currently trying to expose a scripting language (similar to Forth, but not quite) written in C++, to C# and vice versa. Exposing C++ to C# is not difficult, and I already know how to do that.

However, I also want to expose .Net classes to the scripting language, as in, access those classes within C++. I would like to keep the code crossplatform, so a method that makes it possible to use it with Mono would be greatly preferred.

A quick google search sort-of implied that this can only be achieved by using Visual Studio, but I'm sure that there has got to be a different way to achieve this?

My apologies if this question is not well-formed.

Source Link

Access DotNet classes from C++?

I'm currently trying to expose a scripting language (similar to Forth, but not quite) written in C++, to C# and vice versa. Exposing C++ to C# is not difficult, and I already know how to do that.

However, I also want to expose DotNet classes to the scripting language, as in, access those classes within C++. I would like to keep the code crossplatform, so a method that makes it possible to use it with Mono would be greatly prefered.

A quick google search sort-of implied that this can only be achieved by using VisualStudio, but I'm sure that there has got to be a different way to achieve this?

My apologies if this question is not wellformed.