Great work as always, appreciate your efforts, Mr. A.
However, why bother creating trainer for Might and Magic 7, when it has built-in cheat menu?
For those who might be not aware - here's what you wanna do to activate it:
1) Open DefaultGame.ini, located as follows ...\Might and Magic Heroes VII\MMH7Game\Config
2) Find and replace the line mDebugCheats=False to mDebugCheats=True
3) Save
4) Cheat menu will appear in the lower-right corner (star icon)