开发者

Calling a C++ code from C# [duplicate]

This question already has answers 开发者_开发知识库here: Closed 11 years ago.

Possible Duplicate:

Possible to call C++ code from C#?

I have an issue. I have a project that requires me to call a code that was written in Visual C++ 6.0 by someone else from my VS2008 C# code. I was wondering if anyone know how to do this. Thanks


If the assembly is COM visible you can add it as a reference to your C# project.

If not, you can use PInvoke to do so. Also, PInvoke.net is an invaluable resource for this sort of thing.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜