Modify dynamic linker to handle registry as well as DLL.