Its nothing to do with compilers.Quote:
The code you have yields undefined behaviour, as you're writing to a specific address. That tends to make things break when you change compilers or compiler settings
I figure that in C++ my code needs to be modified in order to work correctly that is why I posted this thread.Quote:
let alone change languages (C to C++)
Don’t just assume that I have bad/illegal intentions, when DLL injection could be helpful in various ways without compromising any legal rights.Quote:
Given that you are clearly doing a hack (I'm guessing cheating in a game or bypassing some program's registration checks), I'm guessing this thread - or your objective at any rate - is against site rules here