If I use extern "C" to define a function in a C++ DLL, do I still need to use a .def file to avoid name mangling?

Cheers