
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.