Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [DllImport("TestDll.dll", CallingConvention = CallingConvention.Cdecl)]
- static extern void Test(string str);
- static void Main()
- {
- // DLLのTestを呼ぶ
- Test("hogehoge");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement