When I recompile GHost with a little bit of code added the .exe file size increases dramatically, why?
You’ve probably compiled it with debug information which is very inefficient. It also makes it non portable to systems that don’t have Visual C++ installed. In Visual C++ open the solution then click the Build menu then click Configuration Manager then change the active solution configuration to Release and rebuild the exe. The new exe file will be placed in a “Release” folder instead of a “Debug” folder.