Created
March 19, 2019 10:32
-
-
Save baobao/ed5b8f2c2cbcf0bbbee0fcc273bdb87c 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
#include "stdafx.h" | |
#include <iostream> | |
// C#から呼ばれる関数の定義 | |
DllExport void Test(const char* str); | |
void Test(const char* str) | |
{ | |
if (str == NULL) { | |
std::cout << "str is null." << std::endl; | |
return; | |
} | |
std::cout << str << std::endl; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment