hbandarra
Feb 6th, 2003, 10:04 AM
I'm loading dlls using System.Reflection.Assembly.LoadFrom() for getting instances using System.Type.GetInterface() and System.Activator.CreateInstance().
The thing is:
What if that dll references to other dlls? How should I load those dlls into memory? Using System.Reflection.Assembly.LoadFrom() or REGSVR32.EXE? Is there any way to tell Windows that I have a folder where he should find the required dlls?
Note that that folder is not and cannot be the system folder or the folder of the executable of the running application, i.e., I want to specify the path.
Thanks!
The thing is:
What if that dll references to other dlls? How should I load those dlls into memory? Using System.Reflection.Assembly.LoadFrom() or REGSVR32.EXE? Is there any way to tell Windows that I have a folder where he should find the required dlls?
Note that that folder is not and cannot be the system folder or the folder of the executable of the running application, i.e., I want to specify the path.
Thanks!