Click here to Skip to main content
16,012,061 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionLinking DLL's Pin
joeller6-Nov-06 8:57
professionaljoeller6-Nov-06 8:57 
AnswerRe: Linking DLL's Pin
Mark Salsbery6-Nov-06 12:45
Mark Salsbery6-Nov-06 12:45 
GeneralRe: Linking DLL's Pin
joeller7-Nov-06 3:42
professionaljoeller7-Nov-06 3:42 
GeneralRe: Linking DLL's Pin
Mark Salsbery7-Nov-06 5:27
Mark Salsbery7-Nov-06 5:27 
GeneralRe: Linking DLL's Pin
joeller7-Nov-06 8:08
professionaljoeller7-Nov-06 8:08 
GeneralRe: Linking DLL's Pin
Mark Salsbery7-Nov-06 8:17
Mark Salsbery7-Nov-06 8:17 
AnswerRe: Linking DLL's Pin
Michael Dunn6-Nov-06 16:14
sitebuilderMichael Dunn6-Nov-06 16:14 
GeneralRe: Linking DLL's Pin
joeller7-Nov-06 4:21
professionaljoeller7-Nov-06 4:21 
From original Post:

"When I built this application on another machine with VS 2005, the project properties page under Configuration Properties\Debugging had an entry called "Evironment" whereby I could enter the relative path to the YadaYada\bin directory; (Set PATH="..\YadaYada\bin")."

I neglected to mentioned that when this was done, everything worked as designed.

"But I was not able to find any equivalent entry on the property pages in Visual Studio .Net (2002). I manually added the path to the dll to the machine's "PATH" environment variable but it made no difference. When I copied the dll to the project's folder however everything worked as designed."

That was the full path to the specified folder.

I tried your #2 and it works. That is what everyone is doing now and I would like to get away from that.

I tried your #3 (see above) and it did not work.

I tried #1 several weeks ago. I don't remember whether it worked or not. As I recall it required the entry of the path to the dll in the code. However I am trying to avoid that because that would necessitate each developer putting the dll project on their machine in the same location for the code to work. In this non-optimum development environment, each developer uses source safe to get latest version and installs the projects in whatever location they so desire. They then use the VC++ Directories property page to set the linkages to the other header and library files that are needed. They have been copying the dlls into the project directory. Since I am only a contractor for this one project I do not want to tell them to revise their way of doing business. So I was trying to find means by which they could access dlls without copying them into the project directory. Of course this is the .Net solution. (Where the dll's for each name space that is referenced in your project is copied to your bin directory.) I never liked that resolution for dll hell because it requires that any new version of a dll (stuff like bug fixes and service packs), now need to be copied to every application that uses it. For very general reusable code,that is used in many places, (like this is going to be,) that means quite a lot of copying and checking.

What about the possibility of using the command line additional options under Configuration\C/C++ folder s of the project property pages?

E.R. Joell MCSD MCDBA
GeneralRe: Linking DLL's Pin
Mark Salsbery7-Nov-06 6:47
Mark Salsbery7-Nov-06 6:47 
GeneralRe: Linking DLL's Pin
joeller7-Nov-06 9:11
professionaljoeller7-Nov-06 9:11 
GeneralRe: Linking DLL's Pin
Mark Salsbery7-Nov-06 9:33
Mark Salsbery7-Nov-06 9:33 
GeneralRe: Linking DLL's Pin
joeller7-Nov-06 10:24
professionaljoeller7-Nov-06 10:24 
GeneralRe: Linking DLL's Pin
Michael Dunn7-Nov-06 15:16
sitebuilderMichael Dunn7-Nov-06 15:16 
QuestionCListCtrl SetItemPosition Pin
skullfire6-Nov-06 8:23
skullfire6-Nov-06 8:23 
QuestionHow to save captured screen as jpg/jpeg file? Pin
edvintas6-Nov-06 8:02
edvintas6-Nov-06 8:02 
AnswerRe: How to save captured screen as jpg/jpeg file? Pin
Mark Salsbery6-Nov-06 8:12
Mark Salsbery6-Nov-06 8:12 
GeneralRe: How to save captured screen as jpg/jpeg file? Pin
edvintas6-Nov-06 9:03
edvintas6-Nov-06 9:03 
GeneralRe: How to save captured screen as jpg/jpeg file? Pin
Mark Salsbery6-Nov-06 10:42
Mark Salsbery6-Nov-06 10:42 
AnswerRe: How to save captured screen as jpg/jpeg file? Pin
Hamid_RT6-Nov-06 20:57
Hamid_RT6-Nov-06 20:57 
QuestionCombineRegion() Pin
Waldermort6-Nov-06 7:33
Waldermort6-Nov-06 7:33 
QuestionRegular expression!!! Pin
_AnsHUMAN_ 6-Nov-06 6:34
_AnsHUMAN_ 6-Nov-06 6:34 
AnswerRe: Regular expression!!! Pin
toxcct6-Nov-06 6:46
toxcct6-Nov-06 6:46 
QuestionRe: Regular expression!!! Pin
David Crow6-Nov-06 7:42
David Crow6-Nov-06 7:42 
AnswerRe: Regular expression!!! Pin
Chris Losinger6-Nov-06 8:49
professionalChris Losinger6-Nov-06 8:49 
QuestionRe: Regular expression!!! Pin
kakan6-Nov-06 19:21
professionalkakan6-Nov-06 19:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.