开发者

Wrapping C# code to be called from C++ [duplicate]

开发者 https://www.devze.com 2023-03-04 16:12 出处:网络
This question already has answers her开发者_如何转开发e: Closed 11 years ago. Possible Duplicate:
This question already has answers her开发者_如何转开发e: Closed 11 years ago.

Possible Duplicate:

What are my options for C++ DLL to call a C# DLL?

Okay so there is a load of material talking about how to wrap unmanaged code written in C++ or other languages and compiled to a DLL, and making a C# wrapping to make this unmanaged code something that can be called from C# directly.

I can't seem to find any material on calling managed code, from unmanaged code. That is, given a C# library, I'd like to wrap it such that I can call it's functions from C++. It that possible?


This might be worth looking at.


You might want to expose your component to COM interop: http://msdn.microsoft.com/en-us/library/c3fd4a20.aspx

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号