George_George wrote:I am developing for both x86 and x64. I stop mouse on size_t in the code, and "typedef unsigned int size_t" is always displayed. I think it is not correct for x64. Since x64 size_t is 64-bit and unsigned int on x64 is 32-bit. So, the first question is how to let mouse display the correct typedef?
<br />#ifndef _SIZE_T_DEFINED<br />#ifdef _WIN64<br />typedef unsigned __int64 size_t;<br />#else<br />typedef _W64 unsigned int size_t;<br />#endif<br />#define _SIZE_T_DEFINED<br />#endif<br />