Closed qicosmos closed 4 years ago
extern "C++"
is supported, but with it your function will be mangled and you have to provide a mangled name during import. Find the correct mangled name via inspecting the symbols of your binary via platform specific tools.
You could also use the mangled import but that feature is experimental and may crush on complex cases
I want to export a std::string foo(), and use extern "C++" to avoid a warning, however when i get the function, it crashed. So i want to know if boos.dll support extern "C++" or not? How can i export such kind of c++ function with boost.dll?