DEF File

This is a discussion on DEF File within the Tech Board forums, part of the Community Boards category; How do I make a def file in MSVC++? I tried adding /def:myfile.def in the settings window but all I ...

  1. #1
    Registered User
    Join Date
    Apr 2007
    Posts
    10

    DEF File

    How do I make a def file in MSVC++? I tried adding /def:myfile.def in the settings window but all I get is this:

    Code:
    Command line warning D4002 : ignoring unknown option '/def:myfile.def'

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    23,623
    Could it be a requirement to have to have it all in uppercase? For Visual C++ 2005 Express, an option would be to go to Project -> Properties -> Linker -> Input -> Module Definition File.

    Oh, and I moved this to Tech Board as it is more of an IDE configuration problem than a C++ problem.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Data Structure Eror
    By prominababy in forum C Programming
    Replies: 3
    Last Post: 01-06-2009, 08:35 AM
  2. Basic text file encoder
    By Abda92 in forum C Programming
    Replies: 15
    Last Post: 05-22-2007, 01:19 PM
  3. Encryption program
    By zeiffelz in forum C Programming
    Replies: 1
    Last Post: 06-15-2005, 03:39 AM
  4. System
    By drdroid in forum C++ Programming
    Replies: 3
    Last Post: 06-28-2002, 10:12 PM
  5. Hmm....help me take a look at this: File Encryptor
    By heljy in forum C Programming
    Replies: 3
    Last Post: 03-23-2002, 09:57 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21