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. dll in Visual C++

dll in Visual C++

Scheduled Pinned Locked Moved C / C++ / MFC
c++csharpvisual-studiohelpquestion
2 Posts 2 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.
  • S Offline
    S Offline
    Stephan Wright
    wrote on last edited by
    #1

    Hy everyone! My colleage wants to include a "foreign" dll in his C++ program (written in VC++ 6.0). He said he has added the path to the dll in the settings of VC++ 6.0. In command he is able to run the executable when the dll is located in the same folder. But in VC++ it does not work throwing an error message telling the dll is not available. What is he doing wrong because at the moment I cannot find out, because I did never work with version VC++ 6.0 (I did only work with Visual Studio 2003 and that's a little different). So if someone of you could tell me what he has to do to make VC++ find the dll please let me know and I will forward the infos to him. Thanks! Stephan.

    J 1 Reply Last reply
    0
    • S Stephan Wright

      Hy everyone! My colleage wants to include a "foreign" dll in his C++ program (written in VC++ 6.0). He said he has added the path to the dll in the settings of VC++ 6.0. In command he is able to run the executable when the dll is located in the same folder. But in VC++ it does not work throwing an error message telling the dll is not available. What is he doing wrong because at the moment I cannot find out, because I did never work with version VC++ 6.0 (I did only work with Visual Studio 2003 and that's a little different). So if someone of you could tell me what he has to do to make VC++ find the dll please let me know and I will forward the infos to him. Thanks! Stephan.

      J Offline
      J Offline
      jmkhael
      wrote on last edited by
      #2

      He can add his path to the Global PATH enviroment variable, or he can drop his dll in the project directory, cos this is the default directory when a program is launched from the IDE Papa while (TRUE) Papa.WillLove ( Bebe ) ;

      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