dseaver
IS-IT--Management
- Jul 13, 2006
- 467
I'm using a DLL from a program a coworker wrote, and I want to access his DLL without copying it into my directory. Everytime I add his DLL as a reference, and try to run the program after moving it to the directory that it will reside in, it throws an exception that it cannot load the dll
Here's an example of what I am talking about
Is it possible to reference it without placing it in my directory? I am using VS2005
Here's an example of what I am talking about
Code:
C:\Program Files\Program A\some.dll <--The DLL I use
C:\Program Files\Program B\My.exe <--My Program
\MyOther.dll