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