C++

Use the DLL created by Visual C++2017 with C++Builder(Win64).

Author: h.mohri Made a DLL with Visual C++. And I tried to use it in C++Builder. Common is 64 bits. First I will make a VC++ side DLL. //// extern "C" CONSOLEAPPLICATION1_API int test1(int i1) { ///This function only increments. ++i1; return i1; } extern "C" CONSOLEAPPLICATION1_API void test2(int i1, wchar_t* a) { ///Convert from int to wstring. std::wstring s{}; s =…
Read more