Created
March 19, 2019 10:32
-
-
Save baobao/a54e6a6dfb42473382166f1846d84e91 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[DllImport("TestDll.dll", CallingConvention = CallingConvention.Cdecl)] | |
static extern void Test(string str); | |
static void Main() | |
{ | |
// DLLのTestを呼ぶ | |
Test("hogehoge"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment