Set dll load path per-project?
Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance
I am trying to load dlls from a specific location when debugging a
project inside Visual Studio 2003 (C++, unmanaged). Can anyone help
me?
Basically, we have multiple (in progress) versions of our in-house
graphics engine, and would like to keep the DLLs separate from the
client software that uses the engine. We are currently modifying the
%PATH% variable while debugging so that it points to the correct
engine install, but this is tedious and error prone.
I am looking for a way to set the PATH variable from within the
debugger -- as a project setting.
To clarify, we have the following directory structure:
c:\project1\engine\dlls\engine.dll
c:\project1\client\bin\client1.exe
c:\project2\engine\dlls\engine.dll
c:\project2\client\bin\executables\client2.exe
Each engine.dll could be a separate version and contain different
entry points. We don't want to copy the dlls to the client's bin
directory, but the correct file must load from client.exe.
Does anyone have any thoughts?
.
Relevant Pages
- "Non-continuable xception during process load"
... MFC application which links to a number of other DLLs, ... continuable exception was thrown during process load" ... Any thoughts or hints on debugging ... (microsoft.public.dotnet.languages.vc) - Erratic Sever Side Script Debugging ASP 3.0/.NET DLLs: Problems and Solution
... This is about debugging server side scripts that make calls to ... and the DLLs are managed DLLs converted/developed with VB.NET. ... the DLLs called from ASP scripts using Visual Studio .NET. ... (microsoft.public.dotnet.framework.interop) - Erratic Sever Side Script Debugging ASP 3.0/.NET DLLs: Problems and Solution
... This is about debugging server side scripts that make calls to ... and the DLLs are managed DLLs converted/developed with VB.NET. ... the DLLs called from ASP scripts using Visual Studio .NET. ... (microsoft.public.dotnet.framework.aspnet) - Re: Memory corruption and Dump Stack trace
... you can use JIT debugging to invoke the debugger ... crashes very randomly and thus hard to reproduce the crash. ... The "Additional DLLs" feature is there only to specify ... It does you no good to have the .pdb file there, and it isn't a DLL, so mentioning ... (microsoft.public.vc.mfc) - Re: How to Enable Mixed Mode Debugging in VS2005 Asp.Net Web Site?
... One possible solution is to create a new Class Library project and them move all the code interfacing with the legacy dlls into this project. ... Then you could turn on mixed debugging for this project. ... ATL dlls and call them via Asp.Net. ... create a new 'web site | asp.net web site'. ... (microsoft.public.vsnet.debugging) |
|