E
E
Exvel2014-09-09 09:16:55
.NET
Exvel, 2014-09-09 09:16:55

How to style a .NET library so that you can call it from C++?

It has its own .NET library, which has interfaces, classes, and simple methods. From complex types, only decimal. In one more place, it is necessary for the client code to create a class that implements a certain interface and pass it back to the library as a parameter.
It is necessary to add to the library the ability to provide its functionality to C ++ code. I read it on Google - there are no simple solutions. Yes, and somewhere they recommend COM, where some other crutches are fenced. In general, I could not determine the best way. Who will advise what?
UPDATE:
As far as I know, COM requires a strong-named assembly. For me, this is not an option, since it is not possible to sign the assembly, for some reason.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
Mikhail Zakharov, 2014-09-09
@exvel

There is not much text, so even if your English is not very good, you should understand.
www.codeproject.com/Tips/695387/Calling-Csharp-NET...

M
Maxim, 2014-09-09
@Z10yTap0k

COM

E
Eugene, 2014-09-09
@EvgenijDv

If not COM, then rewrite everything in C++ :-)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question