Small correction – for success resolving name by clinet
extern "C"
must be as on export side as on import.
extern “C” will reduce name of proc to: “_GetName”.
More over you can force any name with help of section EXPORTS in .def file
More Related Contents:
- What is the effect of extern “C” in C++?
- using extern template (C++11)
- What does extern inline do?
- Unmangling the result of std::type_info::name
- How do I list the symbols in a .so file
- Why do we need extern “C”{ #include } in C++?
- Getting mangled name from demangled name
- Linker error when calling a C function from C++ code in different VS2010 project
- Why does “extern const int n;” not work as expected?
- static and extern global variables in C and C++
- How to declare constexpr extern?
- Does a declaration using “auto” match an extern declaration that uses a concrete type specifier?
- questions about name mangling in C++
- Why can’t templates be within extern “C” blocks?
- Function to mangle/demangle functions
- Mixing extern and const
- What is default storage class for global variables?
- using extern template (C++11) to avoid instantiation
- Insertion sort stops working after million input
- Why the values {1, 1, 0, -1, -1, -1, 0, 1} and {0, 1, 1, 1, 0, -1, -1, -1} were chosen for dx[dir] and dy[dir]? [closed]
- AVX2 what is the most efficient way to pack left based on a mask?
- Is it better to use std::memcpy() or std::copy() in terms to performance?
- How to use std::sort to sort an array in C++
- Why an unnamed namespace is a “superior” alternative to static? [duplicate]
- How to print __int128 in g++?
- How do I store arrays in an STL list?
- MSVC 2015 Universal CRT for app-local deployment
- Why the libc++ std::vector internally keeps three pointers instead of one pointer and two sizes?
- What’s the motivation behind having copy and direct initialization behave differently?
- Is a Linked-List implementation without using pointers possible or not?