My program has a .def in with the other source files (eg the .cpp files)
but Visual Studio 2005 is ignoring it. Why?
Previous versions of Visual Studio let you specify the .def file this
way but now you have to place it in:
Properties > Linker > Input > Module Definition File
Set it to: