TheSwamp
Code Red => .NET => Topic started by: sinc on December 09, 2008, 01:12:17 PM
-
I'm getting my new Vista-64 system setup for development. Anyone done this?
I'm in the process of downloading the ObjectARX kits right now for 2008 and 2009. I develop for C3D, which only has a 32-bit version. So I think I want to link in to the 32-bit version of the managed libraries in the ObjectARX kits...?
-
I don’t think it matters, as long as you have copy local is set to false and you compile for any cpu. I could be wrong though.
-
I linked it to the 32-bit ObjectARX kit, and everything works fine. Didn't try using the 64-bit version, since this is working fine.
I'm guessing there's some difference between the two, or Autodesk would not have released two versions. Anyone know what it is? Or is it one of those things that matters for the C++ developers, but not for .NET?
-
I believe it only matters with unmanaged code. Remember, the JITer does the compiling.
-
What about the types, then? If I use an "int" in C#, is it always 32-bit, even on a 64-bit system? If so, how do we get a 64-bit "int"?
This 64-bit stuff is all brand new to me...
-
The types are fixed I.e System.Int32, and System.Int64
The only type that changes size is the pointer which is handled by IntPtr