Link to home
Start Free TrialLog in
Avatar of AlwaysSomethingToLearn
AlwaysSomethingToLearn

asked on

AppDomain

I have a DLL assembly that I load with reflection. The DLL contains one function requiring two arguments and returns a dataset. I would like to load and run this assembly function in its own App Domain that can be unloaded once the dataset is returned.

The reason: once the function is called from the current domain, the DLL cannot be updated until the main program execution is terminated, I'm hoping that running it in its own app domain and unloading it will resolve this.

My problem: I can't seem to successfully pass in the function name and arguments and so haven't got far enough to see if I can get a dataset back.
ASKER CERTIFIED SOLUTION
Avatar of Jacques Bourgeois (James Burger)
Jacques Bourgeois (James Burger)
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial