I am pretty new to creating DLLs and have come across two methods of exporting functions, classes, etc. I was wondering if anyone could tell me advantages/disadvantages of using either a .def file or dllimport/dllexport with _declspec()?