Re: [問題] 請問要怎麼呼叫DLL (從C++回傳的陣列)

看板C_Sharp作者 (新年是又冷又無聊)時間16年前 (2009/05/24 23:25), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/2 (看更多)
※ 引述《jerryen (肚咕求睡)》之銘言: : 我在C++中的DLL是這樣宣告 : extern "C" __declspec(dllexport) const double*** __stdcall : getArray( int i); : 請問在C#中要怎麼使用呢 : 謝謝 public class SomeClass { [DllImport("user32.dll")] static extern IntPtr SendMessage(IntPtr hWnd, uint Msg, IntPtr wParam, IntPtr lParam); } -- -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 59.105.59.33
文章代碼(AID): #1A6MRJrn (C_Sharp)
文章代碼(AID): #1A6MRJrn (C_Sharp)