Question : How to tel an MFC app the location of an external DLL?

Can I specify at the MFC project settings that an external DLL (with its PDB) are found in another directory, so that I can run the app from within Visual Studio without copying the DLL to my app directory?

Answer : How to tel an MFC app the location of an external DLL?

these folders are in the registry. so you could write them programmatically if you want. but dont see much sense in doing so. putting it to vc++ directories is a only-once doing. i would think it is the easiest step in all dll development. if the dll comes from outside you better use always the same folder and make the name of the dll a variable. you also could copy your dll and pdb to the predefined dll (or bin) folder. that could be made by post-build step.
Random Solutions  
 
programming4us programming4us