peter1591 / hearthstone-ai

A Hearthstone AI based on Monte Carlo tree search and neural nets written in modern C++.
302 stars 49 forks source link

Communicate with c++ using c# #31

Closed peter1591 closed 7 years ago

peter1591 commented 7 years ago

https://www.codeproject.com/Articles/19354/Quick-C-CLI-Learn-C-CLI-in-less-than-minutes

peter1591 commented 7 years ago

http://stackoverflow.com/questions/4121249/best-workaround-for-compiler-error-c2158-make-public-does-not-support-native-te

So, even though we use C++/CLI, we may still face some problems when converting the board

peter1591 commented 7 years ago

http://www.dorodnic.com/blog/2014/12/10/calling-cpp-by-example/

peter1591 commented 7 years ago

Fixed in commit: 74629838

A native C++ dll for the Game Engine (and Game AI in the future) A C++/CLL dll to wrap the native C++ C# front-end UI