C # Call-C + + dynamic library marshal struct, struct array

Source: Internet
Author: User

Because the laboratory image processing algorithms are written under the OpenCV, there is also the navigation algorithm is written in C + +, and then the interface is required to write in C #, so whether it is the socket communication, or call OpenCV DLL module, are designed to C # and C + + data type correspondence, There is also the encapsulation of the structural body used. In the context of language invocation, both Java and C # can only invoke the dynamic libraries exported in C format, because C data types are relatively single and easy to map, both of which provide a set of mapped C # or Java descriptor interfaces on the local side, which is used to achieve the purpose of invocation through the underlying processing of this mapping relationship.

May 19 Learning Content:

Http://www.cnblogs.com/gc2013/p/3764699.html

Http://www.cnblogs.com/cxwx/archive/2010/12/29/1921140.html

Http://www.cnblogs.com/zhangpengshou/archive/2011/09/30/2195794.html

Http://www.cnblogs.com/yukaizhao/archive/2011/04/27/csharp_call_cpp_class_struct.html

http://tcspecial.iteye.com/blog/1675621

http://tcspecial.iteye.com/blog/1675309

Http://www.cnblogs.com/naiking/archive/2013/01/17/2864132.html

http://blog.csdn.net/zhangj1012003_2007/article/details/6283032

http://blog.csdn.net/xiaowei_cqu/article/details/7693985

C # Call-C + + dynamic library marshal struct, struct array

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.