Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #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;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement