Basic application self-integrity check demo
a quick guide line:
unzip everything
compile A and B
put both executables in the same directory
run project1.exe: error will be shown. this demostrates that any modification is caught
run project2.exe (no message will be shown, but the size of project1.exe will raise with 32 bytes
run project1.exe: no error will be shown. this demonstrates that application integrity check succeded
Note:
Modify and accomodate to your needs.