I've finally modified all the const char*, and string manipulation in my mobile framework. Just because Microsoft decided to change the sscanf to sscanf_s as well as all the other string manipulation. So now I've finally converted them all into std::strings (Which I had never used before!) with some extra functions to duplicate what I need, taken a lot longer than needed. There are some bits I still don't like but at least it's up an running. But in the long run it should be better, no more #define's to separate them out.
So now I can get back onto developing the framework and adding extra features.