Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. add PATH in VC IDE

add PATH in VC IDE

Scheduled Pinned Locked Moved C / C++ / MFC
visual-studioquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    LeeeNN
    wrote on last edited by
    #1

    In my work space there are two projects, one is dll another is application which calls dll. they are in different folder. in VC IDE, is there a way to add the dll path to the PATH variable, or let IDE search the dll path when application runs? Thank you.

    T V 2 Replies Last reply
    0
    • L LeeeNN

      In my work space there are two projects, one is dll another is application which calls dll. they are in different folder. in VC IDE, is there a way to add the dll path to the PATH variable, or let IDE search the dll path when application runs? Thank you.

      T Offline
      T Offline
      TheGreatAndPowerfulOz
      wrote on last edited by
      #2

      Tools->Options->Directories->Exectuable paths

      1 Reply Last reply
      0
      • L LeeeNN

        In my work space there are two projects, one is dll another is application which calls dll. they are in different folder. in VC IDE, is there a way to add the dll path to the PATH variable, or let IDE search the dll path when application runs? Thank you.

        V Offline
        V Offline
        vipinasda
        wrote on last edited by
        #3

        Change the Output Directory in the project settings. You should change it such that the executeable and the dll binary gets placed in the same directory. It is controlled via the /OUT:filename linker setting. Vipin - MVP

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups