I am trying to reference a .Net DLL(call it B.dll), which basically is a wrapper for a .Net third party(call it C.dll), into c++ MFC project. I did create the tlb file for B.dll and am able to instantiate and call this within the MFC app.
At the moment all the dependencies, B.tlb, B.dll and C.dll, need to be in the bin folder of the MFC application. What I want, and am struggling to do, is to put these three files in a sub folder of the MFC execution folder.
I tried setting the "privatePath" of the B.dll config file to a sub folder but as I understood it, it's not the B.dll "privatepath" that needs to be set but the MFC application(which obviously hasn't got any as far as I know, as it's not a .Net application)
Any help is appreciated.