The Windows Application Compatibility Framework (shimming) provides a way to change the system behaviour for an application in order to function like in older systems. It works via the IAT Import address Table at load time and can change functions, library addresses etc. this way.
Creating a shim
A shim can be registered with the system via a database file with extension .sdb under C:\Windows\AppPatch via sbdinst.exe file.sdb.
The InjectDLL was removed from modern ADKs! However, the 32-Bit Compability Administrator still has it.
- Download the Windows ADK
- Open the Compability Administrator
- In Custom Databases, right click and add new fix
- Choose InjectDLL and click to Parameters and add the full path of the DLL.
- In Matching Information, deselect everything except the name.
- Save the new Database. You have a new sdb file.
- Register the new file with
sbdinst file.sdb. - Wait for execution..
Leave a Reply
You must be logged in to post a comment.