by Nickels (3 Submissions)
Category: Libraries
Compatability: Visual Basic 3.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (10 Votes)
This program demonstrates how a program can update its own DLL’s by initializing them with CreateObject() and freeing their resources after use with CoFreeUnusedLibraries. With a few modifications you could make the program download the updated DLL from the internet to simulate automatic program updates. The program also creates a backup so it can Rollback the Update in case there is a problem with the new DLL.