How to write my own wrapper in C#?

后端 未结 3 362
北荒
北荒 2021-02-02 04:20

In my other question, I\'ve been trying to find someone who knows where to find free open source OCR library for C#. However, it seems there is only C++ library and obviously, C

3条回答
  •  梦毁少年i
    2021-02-02 05:06

    If you're wrapping is very simple, you can get away with P/Invoke. If you actually want managed objects, your easiest solution is probably to write the wrapper in C++/CLI (formerly Managed C++), as that provides a full feature set for managed/unmanaged interop.

提交回复
热议问题