サンプルを作ってみました。 DLL として呼び出される関数(取り立てて意味は無いです) int のポインタの配列とデータ数でその合計を求めるもの ---------------------------------------------------------------- /* bcc32 -WD testDll.c */ __declspec(dllexport) int __stdcall ArraySum(int **array, int size){ int s=0; int i; for(i = 0; i < size;i++){ s+= *array[i]; } return s; } ---------------------------------------------------------------- // C#側 // コンパイル方法:csc /unsafe D