This article is a mirror article of machine translation, please click here to jump to the original article.

View: 125777|Reply: 27

[Console Program] Dynamically replace the dll

[Copy link]
Posted on 11/7/2017 3:23:32 PM | | |
Nowadays, after many programs are developed and launched, if there are users using them, when updating the dll library, in order not to affect the user's operation, the software can generally be updated late at night or at a specific maintenance time.
If you make the dll library a dynamic update, you don't need to worry about whether the user is operating, just replace the original file, and the user will not have any impact on use.
Let's take a look at how to do it!
Let's write a small example:
First, we write a class library that can output hello world
Next, write a console program to reference this library, and make this reference dynamic

Source code download:
Tourists, if you want to see the hidden content of this post, pleaseReply


Score

Number of participants2MB+2 contribute+2 Collapse reason
moxuan + 1 + 1 Support the landlord to post a good post!
Little scum + 1 + 1 Very powerful!

See all ratings





Previous:discovered a new continent
Next:Beginner C# Everyone, please show mercy
Posted on 7/2/2022 5:51:55 PM |
{:1_12:} {:1_12:} {:1_12:} {:1_12:} {:1_12:} {:1_12:} {:1_12:} {:1_12:}
Posted on 8/11/2022 3:14:30 PM |
I came to learn and hopefully the landlord could do it
Posted on 6/2/2019 12:00:53 AM |
I came to learn and hopefully the landlord could do it
Posted on 11/7/2017 6:39:37 PM |
Hmm
Posted on 11/8/2017 8:38:31 AM |
Thank you for sharing
Posted on 11/28/2017 2:13:29 PM |
Take a look, thanks for sharing
Posted on 4/7/2018 12:30:05 AM |
Good idea
Posted on 4/7/2018 8:22:29 PM |
Thank you for sharing
Posted on 4/11/2018 8:54:50 AM |
Learn to learn
Posted on 4/11/2018 3:06:19 PM |
Thank you for sharing, let's take a look
Posted on 4/25/2018 10:09:05 AM |
It's really fake...
Posted on 4/25/2018 4:56:31 PM |
Try it, hope it really works
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com