Monday, 27 June 2016

c# - why IntPtr.size is 4 on Windows x64?



I think I should get 8 when I use IntPtr.Size. However I still get 4 on x64 machine with Widnows 7 x64, why?


Answer



check your file CPU architecture, is it x86? It should be CPU any / 64bit



No comments:

Post a Comment

c++ - Does curly brackets matter for empty constructor?

Those brackets declare an empty, inline constructor. In that case, with them, the constructor does exist, it merely does nothing more than t...