COMP: Add DLL export code for Visual Studio.
COMP: Prevent VS 'Windows programmers are bad' warnings.
Merge branch 'DLLExport'