How to set up a C++ function so that it can be used by p/invoke?

前端 未结 6 634
旧巷少年郎
旧巷少年郎 2020-12-30 13:01

Hopefully this is a brainlessly easy question, but it shows my lack of expertise with C++. I\'m a C# programmer, and I\'ve done extensive work with P/Invoke in the past wit

6条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-30 13:18

    Build all project with Win32 platform and appropriate bit (e.g. x86 or x64) build option.

提交回复
热议问题