Thread: Name of output .dll file in MSVC++?

  1. #1
    Registered User
    Join Date
    Aug 2005
    Posts
    204

    Name of output .dll file in MSVC++?

    I'm compiling a set of files a .DLL file with MSVC++. It always outputs to the file with the name 'foo.dll.' How can I make MSVC++ out the file with a name of my choosing?

  2. #2
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    The dll name is set to the project name by default. You can change it within msvc by changing the 'Output File' name in the linker options of the project properties/settings. You can get to the project properties/settings from the 'Project' menu. The various labels I have described may vary between different versions of msvc but the approach is generally the same.

    See msdn linker options: /OUT.
    CProgramming FAQ
    Caution: this person may be a carrier of the misinformation virus.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. help with text input
    By Alphawaves in forum C Programming
    Replies: 8
    Last Post: 04-08-2007, 04:54 PM
  2. System
    By drdroid in forum C++ Programming
    Replies: 3
    Last Post: 06-28-2002, 10:12 PM
  3. simulate Grep command in Unix using C
    By laxmi in forum C Programming
    Replies: 6
    Last Post: 05-10-2002, 04:10 PM
  4. what does this mean to you?
    By pkananen in forum C++ Programming
    Replies: 8
    Last Post: 02-04-2002, 03:58 PM
  5. Simple File Creation Algorithm
    By muffin in forum C Programming
    Replies: 13
    Last Post: 08-24-2001, 03:28 PM