2010-09-30から1日間の記事一覧
以下のようなコードを動かしたいと思ったとします。 // hoge.cpp // hoge.dll を生成する extern "C"{ __declspec(dllexport) bool isEven(int n) { return n % 2 == 0; } } // fuga.cs using System; namespace Fuga { static class Program { static void …
以下のようなコードを動かしたいと思ったとします。 // hoge.cpp // hoge.dll を生成する extern "C"{ __declspec(dllexport) bool isEven(int n) { return n % 2 == 0; } } // fuga.cs using System; namespace Fuga { static class Program { static void …