Click here to Skip to main content
15,887,683 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am developing in C # WindowsForm, and  need a way to import a DLL (entering the path) into a method. And if you cannot find DLL, be informed that the system is "down at the moment". When the method comes to an end, communication with the DLL should be closed.


What I have tried:

I haven't tried anything yet. I could not find any applicable function.
Posted
Updated 6-Dec-19 7:27am

Please have a look at SO: Using AppDomain in C# to dynamically load and unload dll[^] which holds some interesting highlights about your requirement.
 
Share this answer
 
Sounds like you are looking for a plugin architecture, see this CodeProject article: Plugin framework[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900