Dave's Brain

Browse - Programming Tips - My program has a .def in with the other source files (eg the .cpp files)

Date: 2010jan15
Language: C/C++

Q.  My program has a .def in with the other source files (eg the .cpp files)
but Visual Studio 2005 is ignoring it.  Why?

A.  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:
$(ProjectName).def

Add a comment

Sign in to add a comment
Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.