I'm just working on Charles Petzold's Programming Windows and I'm on chapter 2: Unicode. I guess I'm not really understanding the data types of Unicode. I understand CHAR is a normal char and WCHAR and a wide char (16 bits), and then there is a whole slew of string types. Some with WCHARs, others with CHARs, and then long pointers, near pointers, const pointers. That is what is confusing. Which string pointer am I expected to use?
And my other question, are chars (CHAR and WCHAR) and strings the only data types that are different? For instance, are ints and longs still ints and longs? chars and strings are only different, right? Thanks.